Add DossierOperationLog model
This commit is contained in:
parent
98d388b64d
commit
85e3eb04f4
4 changed files with 38 additions and 1 deletions
11
db/migrate/20181123195208_create_dossier_operation_logs.rb
Normal file
11
db/migrate/20181123195208_create_dossier_operation_logs.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue