Revision cb271bde
Added by Sean O'Keeffe over 7 years ago
db/migrate/20110628115422_create_settings.rb | ||
---|---|---|
t.string :category, :limit => 255
|
||
t.string :settings_type, :limit => 255
|
||
t.text :default, :null => false
|
||
t.timestamps
|
||
t.timestamps null: true
|
||
end
|
||
add_index :settings, :name, :unique => true
|
||
end
|
Also available in: Unified diff
Fixes #18726 - Set null to true on migrations for Rails 5