mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #23252 from kamipo/remove_limit_11
Remove `limit: 11` as backward-compatibility with Rails 2.0
This commit is contained in:
commit
43df267118
1 changed files with 0 additions and 1 deletions
|
@ -980,7 +980,6 @@ module ActiveRecord
|
|||
when 3; 'mediumint'
|
||||
when nil, 4; 'int'
|
||||
when 5..8; 'bigint'
|
||||
when 11; 'int(11)' # backward compatibility with Rails 2.0
|
||||
else raise(ActiveRecordError, "No integer type has byte size #{limit}")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue