2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-06-30 11:26:23 +02:00
|
|
|
class CreateDossierAssignments < ActiveRecord::Migration[7.0]
|
|
|
|
def change
|
|
|
|
create_table :dossier_assignments do |t|
|
|
|
|
t.references :dossier, foreign_key: true, null: false
|
|
|
|
t.string :mode, null: false
|
|
|
|
t.bigint :groupe_instructeur_id
|
|
|
|
t.bigint :previous_groupe_instructeur_id
|
|
|
|
t.string :groupe_instructeur_label
|
|
|
|
t.string :previous_groupe_instructeur_label
|
|
|
|
t.string :assigned_by
|
|
|
|
t.timestamp :assigned_at, null: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|