Revision cb271bde
Added by Sean O'Keeffe over 7 years ago
db/migrate/20100625155400_create_notices.rb | ||
---|---|---|
t.string :content, :null => false, :limit => 1024
|
||
t.boolean :global, :null => false, :default => true
|
||
t.string :level, :null => false, :limit => 255
|
||
t.timestamps
|
||
t.timestamps null: true
|
||
end
|
||
# Global messages have to be acknowledged by every user individually
|
||
create_table :user_notices, :id => false do |t|
|
Also available in: Unified diff
Fixes #18726 - Set null to true on migrations for Rails 5