peractus_app/db/migrate/20180104181352_create_mail_contents.rb
Nicolas Bally a5cfbad091 initial
2018-08-06 16:55:14 +02:00

23 lines
379 B
Ruby

class CreateMailContents < ActiveRecord::Migration
def change
create_table :mail_contents do |t|
t.references :lang_site, index: true, foreign_key: true
t.references :mail_type, index: true, foreign_key: true
t.string :subject
t.text :message
t.timestamps null: false
end
end
end