demarches-normaliennes/db/migrate/20170306102238_create_closed_mails.rb
2017-03-07 16:23:44 +01:00

11 lines
262 B
Ruby

class CreateClosedMails < ActiveRecord::Migration[5.0]
def change
create_table :closed_mails do |t|
t.text :body
t.string :object
t.belongs_to :procedure, index: true, unique: true, foreign_key: true
t.timestamps
end
end
end