abritium_paysage_app/db/migrate/20180104181352_create_mail_contents.rb
Nicolas Bally ad337f221c initial
2020-02-17 18:54:26 +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