From 0af08d9c065e68e86335e8b637a35123fa64c049 Mon Sep 17 00:00:00 2001 From: johnnyjoy Date: Sun, 2 Feb 2025 13:19:56 +0800 Subject: [PATCH] chore: add if exists to postgres --- store/migration/postgres/0.24/00__memo.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/migration/postgres/0.24/00__memo.sql b/store/migration/postgres/0.24/00__memo.sql index 5e4ee382..0ea2d222 100644 --- a/store/migration/postgres/0.24/00__memo.sql +++ b/store/migration/postgres/0.24/00__memo.sql @@ -1,2 +1,2 @@ -- Drop deprecated tags column. -ALTER TABLE memo DROP COLUMN tags; \ No newline at end of file +ALTER TABLE memo DROP COLUMN IF EXISTS tags; \ No newline at end of file