Skip to content

Commit

Permalink
update constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiidb committed Jul 4, 2023
1 parent 6b149af commit f0237fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table transaction_entries drop constraint unique_tx_entry_tuple,
add constraint unique_tx_entry_tuple UNIQUE(user_id, invoice_id, debit_account_id, credit_account_id, entry_type);

0 comments on commit f0237fa

Please sign in to comment.