-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow providing key type for autoincrement fields
Currently, a new primary key is created for every autoincrement field. This can be a problem in dumps where the primary key was already exported. It causes "duplicate primary key" statements when importing into MySQL. This commit introduces a configureable behavior. The autoincrement key type is now configureable via the PG2MYSQL_AUTOINCREMENT_KEY_TYPE environment variable.
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
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