demarches-normaliennes/db/migrate/20231107150217_create_re_instructed_mails.rb
2024-08-22 09:26:48 +02:00

14 lines
324 B
Ruby

# frozen_string_literal: true
class CreateReInstructedMails < ActiveRecord::Migration[7.0]
def change
create_table :re_instructed_mails do |t|
t.text :body
t.string :subject
t.integer :procedure_id, null: false
t.timestamps
end
add_index :re_instructed_mails, :procedure_id
end
end