-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cannot add foreign key constraint' #1
Comments
Hey @jnhwkim, I can't seem to reproduce the error. Here's what I did:
|
Though I resolved the issue using As following the above instructions, I got:
I'm using mysql v14.14 and peewee v2.8.5. When I created the database from |
Thanks @jnhwkim! |
createDatabaseTables() generates an error of
since it involves making foreign keys to non-existent keys.
The text was updated successfully, but these errors were encountered: