payrejardi_app/db/migrate/20180104181352_create_mail_contents.rb
Nicolas Bally 3233232f4e initial
2019-02-01 12:07:55 +01: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