12 lines
262 B
Ruby
12 lines
262 B
Ruby
|
class CreateRefusedMails < ActiveRecord::Migration[5.0]
|
||
|
def change
|
||
|
create_table :refused_mails do |t|
|
||
|
t.text :body
|
||
|
t.text :object
|
||
|
t.belongs_to :procedure, index: true, unique: true, foreign_key: true
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|