Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix composite key generation in Postgres
Two columns cannot be serial in postgres. If there is more than one column in a primary key don't flag both of them as SERIAL. Instead users can use autoIncrement = true to manually flag the serial column.
- Loading branch information
Showing
2 changed files
with
94 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