diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-26 12:42:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-26 12:42:28 +0900 |
commit | 8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed (patch) | |
tree | 71408d810bd7b9dc6770f3eea70122d46c2a2bfe /activemodel/test/cases | |
parent | 301cd91c0d1bfb67344a963e0859e214753fcbfe (diff) | |
download | rails-8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed.tar.gz rails-8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed.tar.bz2 rails-8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed.zip |
Bring back ability to insert zero value on primary key for fixtures (#31795)
Since #29504, mysql2 adapter lost ability to insert zero value on
primary key due to enforce `NO_AUTO_VALUE_ON_ZERO` disabled.
That is for using `DEFAULT` on auto increment column, but we can use
`NULL` instead in that case.
Diffstat (limited to 'activemodel/test/cases')
0 files changed, 0 insertions, 0 deletions