This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Migration ignoring table prefix #31
Comments
What points to an issue with table prefixes? It looks to me that the migrations fail to run because there's data in the tables you're trying to alter, which make a foreign key constraint fail. What happens when you run the following on a test database |
Migration creates table without prefix. promotion_pages should be bc_promotion_pages In SQLSTATE error you can see attempt of creating foreign key to table images, instead of bc_images. |
How is the |
|
This issue is fixed in 1.1.2. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After installing this package, and runing php artisan migration
config/database.php:
db migration file
When I remove this package, everyting runs normal.
The text was updated successfully, but these errors were encountered: