2012-07-23 15:25:37 +01:00
|
|
|
class CreateFlashNotifies < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :flash_notifies do |t|
|
2014-01-21 04:51:49 +00:00
|
|
|
t.text :body_ru, null: false
|
|
|
|
t.text :body_en, null: false
|
|
|
|
t.string :status, null: false
|
|
|
|
t.boolean :published, null: false, default: true
|
2012-07-23 15:25:37 +01:00
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|