mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
t.string takes keyword arguments
This commit is contained in:
parent
ba0c031148
commit
2c66870726
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module ActiveRecord
|
|||
key_options = connection.internal_string_options_for_primary_key
|
||||
|
||||
connection.create_table(table_name, id: false) do |t|
|
||||
t.string :key, key_options
|
||||
t.string :key, **key_options
|
||||
t.string :value
|
||||
t.timestamps
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue