Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reader 0007 migration not working in MySQL
The migration was generating this SQL: ALTER TABLE `reader_series` MODIFY `id` integer AUTO_INCREMENT NOT NULL; ALTER TABLE `reader_series` ADD CONSTRAINT `reader_series_id_1242ab74_uniq` UNIQUE (`id`); ALTER TABLE `reader_series` ADD CONSTRAINT `reader_series_id_1242ab74_pk` PRIMARY KEY (`id`); but MySQL requires auto fields to be declared as primary keys.
- Loading branch information
1 parent
bb71e9c
commit d24e95d
Showing
1 changed file
with
13 additions
and
20 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