mirror of
https://github.com/yrzam/findb.git
synced 2025-01-01 11:52:00 +00:00
latest_fin_transactions on delete trigger
This commit is contained in:
parent
1b4cbfa196
commit
fe0922f37c
@ -758,3 +758,10 @@ where
|
||||
order by
|
||||
t.date desc
|
||||
/* historical_monthly_txs_balances_mismatch(start_date,end_date,storage,amount_unaccounted,asset,tx_delta,balance_delta) */;
|
||||
CREATE TRIGGER latest_fin_transactions_delete instead of delete on latest_fin_transactions
|
||||
begin
|
||||
delete from
|
||||
fin_transactions
|
||||
where
|
||||
id=old.pseudo_id;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user