aboutsummaryrefslogtreecommitdiff
path: root/server/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'server/migrations')
-rw-r--r--server/migrations/2.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/migrations/2.sql b/server/migrations/2.sql
index efed046..c1d502f 100644
--- a/server/migrations/2.sql
+++ b/server/migrations/2.sql
@@ -35,10 +35,10 @@ UPDATE
SET
category = (SELECT category FROM payment_category WHERE payment_category.name = LOWER(payment.name))
WHERE
- EXISTS (SELECT category FROM payment_category WHERE payment_category.name = LOWER(payment.name))
+ EXISTS (SELECT category FROM payment_category WHERE payment_category.name = LOWER(payment.name));
DELETE FROM payment WHERE category = -1;
-- Remove
-DROP TABLE payment_category
+DROP TABLE payment_category;