mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-02-23 13:54:25 +01:00
2 lines
185 B
SQL
2 lines
185 B
SQL
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); |