Files
nairobi/db/migrate/20180221002503_create_admin_notifications.rb
2018-07-25 18:29:10 +02:00

15 lines
331 B
Ruby

class CreateAdminNotifications < ActiveRecord::Migration
def change
create_table :admin_notifications do |t|
t.string :title
t.text :body
t.string :link
t.string :segment_recipient
t.integer :recipients_count
t.date :sent_at, default: nil
t.timestamps null: false
end
end
end