musifrat_app/db/migrate/20160928211606_create_contact_actions.rb
Nicolas Bally a1aef72f7f intial
2019-02-03 15:12:58 +01:00

15 lines
341 B
Ruby

class CreateContactActions < ActiveRecord::Migration
def change
create_table :contact_actions do |t|
t.integer :admin_id
t.datetime :action_at
t.references :contact, index: true
t.string :action_title
t.text :action_message
t.references :contact_action_pattern
t.timestamps
end
end
end