mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix the MySQL column type SET
registration bug
This commit is contained in:
parent
7d14bd3ff5
commit
289ec49f46
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ module ActiveRecord
|
|||
assert_lookup_type :string, "SET('one', 'two', 'three')"
|
||||
end
|
||||
|
||||
def test_set_type_with_value_matching_other_type
|
||||
assert_lookup_type :string, "SET('unicode', '8bit', 'none', 'time')"
|
||||
end
|
||||
|
||||
def test_enum_type_with_value_matching_other_type
|
||||
assert_lookup_type :string, "ENUM('unicode', '8bit', 'none')"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue