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

13 lines
331 B
Ruby

# frozen_string_literal: true
class CreateDossierTransferLogs < ActiveRecord::Migration[6.1]
def change
create_table :dossier_transfer_logs do |t|
t.string :from, null: false
t.string :to, null: false
t.references :dossier, foreign_key: true, null: false, index: true
t.timestamps
end
end
end