Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: add if exists to postgres

johnnyjoy0af08d9c065e
diff --git a/store/migration/postgres/0.24/00__memo.sql b/store/migration/postgres/0.24/00__memo.sql
index 5e4ee3825..0ea2d2221 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