-
Notifications
You must be signed in to change notification settings - Fork 1k
Primary Key Constraint missing on some models #7128
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
Comments
At least for |
Since SQLAlchemy believes these primary keys exist
but the underlying schema does not have them errors such as
Arise when referencing them in relations. |
ewdurbin
added a commit
that referenced
this issue
Dec 19, 2019
* add missing primary key constraints addresses #7128 * lint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following models/tables have a UUID
id
column but are missing a Unique Index and Primary Key Constraint on the column:File
/release_files
Dependency
/release_dependencies
Role
/roles
I'm not sure how we ended up in this state, but it seems something was missed in #4958 when migrating to surrogate keys.
The text was updated successfully, but these errors were encountered: