add claimant type on avis table
This commit is contained in:
parent
bdcce19841
commit
af4a27f4e0
3 changed files with 9 additions and 2 deletions
6
db/migrate/20210307143807_add_claimant_type_to_avis.rb
Normal file
6
db/migrate/20210307143807_add_claimant_type_to_avis.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue