BigW Consortium Gitlab

20131112114325_create_broadcast_messages.rb 321 Bytes
Newer Older
1
# rubocop:disable all
2
class CreateBroadcastMessages < ActiveRecord::Migration
3 4
  DOWNTIME = false

5 6 7 8 9 10 11
  def change
    create_table :broadcast_messages do |t|
      t.text :message, null: false
      t.datetime :starts_at
      t.datetime :ends_at
      t.integer :alert_type

12
      t.timestamps null: true
13 14 15
    end
  end
end