Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration not running if migrations table exists #47

Closed
lembubintik opened this issue Jan 15, 2013 · 7 comments
Closed

Migration not running if migrations table exists #47

lembubintik opened this issue Jan 15, 2013 · 7 comments

Comments

@lembubintik
Copy link

I try to migrate the outstanding migrations but seems to fail because the migrations table has already exists.

@arcdigital
Copy link
Contributor

Yes, I also have this issue whenever I run a migration command without an empty database.
[PDOException] SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'fp_migrations' already exists

@taylorotwell
Copy link
Member

I think this could be related to the table prefixes. I'll look into it.

@arcdigital
Copy link
Contributor

It definitely is, I just tried it without a prefix and everything works fine.

@taylorotwell
Copy link
Member

Just pushed a fix. Can you confirm?

@arcdigital
Copy link
Contributor

Awesome, looks like everything is working now.

@atrauzzi
Copy link
Contributor

atrauzzi commented Aug 6, 2013

I seem to be encountering this today when trying to migrate packages. Anything change recently? @taylorotwell

@joody14
Copy link

joody14 commented Feb 16, 2017

SQLSTATE[42S01]: I also have this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants