You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If upgrading an existing database that has resources created by a user that no longer exists, the migration fails due to a foreign key constraint violation (resource_instances.principle_user -> auth_user.id).
The second SQL statement should have a clause that excludes out any resources that were created by users that don't exist in the auth_user table.
NB - the fix requires an update to an existing migration rather than adding an additional migration due to the nature of the problem.
The text was updated successfully, but these errors were encountered:
If upgrading an existing database that has resources created by a user that no longer exists, the migration fails due to a foreign key constraint violation (
resource_instances.principle_user -> auth_user.id
).The second SQL statement should have a clause that excludes out any resources that were created by users that don't exist in the
auth_user
table.NB - the fix requires an update to an existing migration rather than adding an additional migration due to the nature of the problem.
The text was updated successfully, but these errors were encountered: