Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Database#reset_primary_key_sequence work on PostgreSQL 10+
Selecting directly from the sequence no longer provides the increment and min value, so the new pg_sequence catalog table needs to be used.
- Loading branch information
1 parent
f0af2f8
commit 8370980
Showing
2 changed files
with
14 additions
and
2 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