aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-26 12:42:28 +0900
committerGitHub <noreply@github.com>2018-01-26 12:42:28 +0900
commit8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed (patch)
tree71408d810bd7b9dc6770f3eea70122d46c2a2bfe /activesupport/lib/active_support/rails.rb
parent301cd91c0d1bfb67344a963e0859e214753fcbfe (diff)
downloadrails-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 'activesupport/lib/active_support/rails.rb')
0 files changed, 0 insertions, 0 deletions