From 9d0c54b703a37c127adf05e546f1d60e987d9117 Mon Sep 17 00:00:00 2001 From: Richard Holzeis Date: Thu, 26 Oct 2023 10:54:51 +0200 Subject: [PATCH] fix: Remove invalid sql expression IF EXISTS does not exist on sql lite. I stumbled upon that issue when trying to rerun all sql migration scripts on the app. --- .../2023-08-07-232900_add_order_expiry_to_order/down.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/native/migrations/2023-08-07-232900_add_order_expiry_to_order/down.sql b/mobile/native/migrations/2023-08-07-232900_add_order_expiry_to_order/down.sql index 47725e7fe..25b627c7c 100644 --- a/mobile/native/migrations/2023-08-07-232900_add_order_expiry_to_order/down.sql +++ b/mobile/native/migrations/2023-08-07-232900_add_order_expiry_to_order/down.sql @@ -1,2 +1,2 @@ ALTER TABLE - orders DROP COLUMN IF EXISTS order_expiry_timestamp; + orders DROP COLUMN order_expiry_timestamp;