Add DossierOperationLog model

This commit is contained in:
Paul Chavard 2018-11-23 21:02:18 +01:00
parent 98d388b64d
commit 85e3eb04f4
4 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,11 @@
class CreateDossierOperationLogs < ActiveRecord::Migration[5.2]
def change
create_table :dossier_operation_logs do |t|
t.string :operation, null: false
t.references :dossier, foreign_key: true, index: true
t.references :gestionnaire, foreign_key: true, index: true
t.timestamps
end
end
end