2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-09-07 10:26:30 +02:00
|
|
|
class CreateDossierTransfers < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
|
|
|
create_table :dossier_transfers do |t|
|
|
|
|
t.string :email, null: false, index: true
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
|
|
|
|
add_reference :dossiers, :dossier_transfer, foreign_key: true, null: true, index: true
|
|
|
|
end
|
|
|
|
end
|