diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-15 20:18:12 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-15 20:43:38 +0900 |
commit | 9493d4553569118b2a85da84fd3a8ba2b5b2de76 (patch) | |
tree | 8e7c221b830c31f7f7c405dc9257db80d8b0224a /activerecord/test/cases/connection_adapters/connection_specification_test.rb | |
parent | a92e4bfff31dd862e842bd68ddd78f3db720b3a4 (diff) | |
download | rails-9493d4553569118b2a85da84fd3a8ba2b5b2de76.tar.gz rails-9493d4553569118b2a85da84fd3a8ba2b5b2de76.tar.bz2 rails-9493d4553569118b2a85da84fd3a8ba2b5b2de76.zip |
MySQL: Don't lose `auto_increment: true` in the `db/schema.rb`
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.
Diffstat (limited to 'activerecord/test/cases/connection_adapters/connection_specification_test.rb')
0 files changed, 0 insertions, 0 deletions