Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MySQL: Don't lose `auto_increment: true` in the `db/schema.rb` | Ryuta Kamizono | 2017-10-15 | 1 | -0/+34 |
Currently `AUTO_INCREMENT` is implicitly used in the default primary key definition. But `AUTO_INCREMENT` is not only used for single column primary key, but also for composite primary key. In that case, `auto_increment: true` should be dumped explicitly in the `db/schema.rb`. Fixes #30894. |