-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: EXPOSED-696 [PostgreSQL] Drop of auto-increment sequence fails a…
…fter column modified without dropping default (#2369) DDL generated by MigrationUtils when a column is modified to lose its auto-increment status was not dropping the column's default. This meant that attemtping to drop the auto-increment status after would result in an exception because the sequence was still being used by the altered column. This ensures that the column is altered to drop its default if the existing database column is auto-incrementing while the defined column isn't.
- Loading branch information
Showing
3 changed files
with
17 additions
and
13 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
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