2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-11-08 14:40:55 +01:00
|
|
|
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
|