Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MySQL table generation for non-conventional schemas.
When generating schema from a Table instance, we were incorrectly assigning autoIncrement to integer columns just because they were involved in a primary key. In the new implementation, an autoIncrement is only assigned when: * The primary key has only one column * That column is integer/bigint. * There are no other fields flagged as autoIncrement. This allows MySQL schema generation to handle autoincrements in unique keys correctly. Refs #6668
- Loading branch information
Showing
3 changed files
with
56 additions
and
4 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