We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For tables without a primary key, beam-automigrate tries to run the following SQL:
ALTER TABLE my_table ADD CONSTRAINT my_table_pkey PRIMARY KEY ();
This is invalid SQL because there is nothing in the parentheses, so the migration fails.
The text was updated successfully, but these errors were encountered:
Handle tables without a primary key
0fd33d6
Fixes issue obsidiansystems#25
Don't try to add primary keys when there are none
2935a62
No branches or pull requests
For tables without a primary key, beam-automigrate tries to run the following SQL:
This is invalid SQL because there is nothing in the parentheses, so the migration fails.
The text was updated successfully, but these errors were encountered: