bievre_reno_app/db/migrate/20160928211606_create_contact_actions.rb
Caroline Girard d727d313b7 initial
2018-09-11 13:49:55 +02: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