quartz_app/db/migrate/20180104181352_create_mail_contents.rb
Caroline Girard 37d278a7da initial
2018-09-13 13:32:45 +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