-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recent fix for dropping/recreating PKs in environments with sql_require_primary_key=1 also broke the migrations for environments where the user doesn't have permissions to change the value of the setting. The standalone setup is such an environment. This commit changes those migrations so that the PKs are dropped/recreated as one ALTER TABLE query, no longer requiring changing the sql_require_primary_key setting.
- Loading branch information
Showing
2 changed files
with
37 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters