add claimant type on avis table

This commit is contained in:
kara Diaby 2021-03-07 22:47:24 +01:00
parent bdcce19841
commit af4a27f4e0
3 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,6 @@
class AddClaimantTypeToAvis < ActiveRecord::Migration[6.0]
def change
add_column :avis, :claimant_type, :string
remove_foreign_key :avis, :instructeurs, column: "claimant_id"
end
end