Skip to content

Commit

Permalink
IMP: lift constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Jun 24, 2024
1 parent 991cbc5 commit 7f5a189
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
def migrate(env, version):
# delete stock.delivery.note.type model data due to change
# into via code creation for every company
openupgrade.delete_sql_constraint_safely(env,
'10n_it_delivery_note_base',
'stock_delivery_note_type',
'stock_delivery_note_type_sequence_id_fkey')
openupgrade.lift_constraints(env,
'stock_delivery_note_type',
'sequence_id')
#
deleted_dn_type_data = (
"l10n_it_delivery_note_base.delivery_note_type_incoming_ddt",
Expand Down

0 comments on commit 7f5a189

Please sign in to comment.