2017-03-06 11:51:34 +01:00
|
|
|
class CreateRefusedMails < ActiveRecord::Migration[5.0]
|
|
|
|
def change
|
|
|
|
create_table :refused_mails do |t|
|
|
|
|
t.text :body
|
2017-03-07 16:23:44 +01:00
|
|
|
t.string :object
|
2017-03-06 11:51:34 +01:00
|
|
|
t.belongs_to :procedure, index: true, unique: true, foreign_key: true
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|