demarches-normaliennes/db/migrate/20170302105557_create_initiated_mails.rb
2017-03-07 10:43:58 +01:00

11 lines
266 B
Ruby

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