Statamic Install into Laravel #7207
Unanswered
lucidpolygon
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to install Statamic to a LAravel project. use SQLlite as DB. It's throwing error.
SQLSTATE[23000]: Integrity constraint violation: 19 FOREIGN KEY constraint failed (SQL: DROP TABLE users)
Any idea what's wrong in the migration?
Chat GPT says:
The issue with this migration is that it is attempting to drop the users table, but this table has foreign key constraints that are preventing it from being dropped. This causes an integrity constraint violation error. To fix this issue, the foreign keys that reference the users table must be dropped before the users table can be dropped.
Any fix?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions