diff options
-rw-r--r-- | sql/modules/Payment.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/modules/Payment.sql b/sql/modules/Payment.sql index 4b45c002..8cf67901 100644 --- a/sql/modules/Payment.sql +++ b/sql/modules/Payment.sql @@ -477,6 +477,7 @@ BEGIN set paid = paid + (select amount from bulk_payments_in b where b.id = ap.id) where id in (select id from bulk_payments_in) $E$; + EXECUTE $E$ DROP TABLE bulk_payments_in $E$; perform unlock_all(); return out_count; END; |