demarches-normaliennes/db/migrate/20170306102320_create_without_continuation_mails.rb

11 lines
287 B
Ruby

class CreateWithoutContinuationMails < ActiveRecord::Migration[5.0]
def change
create_table :without_continuation_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