Skip to content

Commit 7996586

Browse files
committed
chore: fix migration script for sqlite
1 parent 54a48b5 commit 7996586

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
-- Drop deprecated tags column.
2-
ALTER TABLE memo DROP COLUMN tags;
3-
41
-- Remove deprecated indexes.
2+
DROP INDEX IF EXISTS idx_memo_tags;
53
DROP INDEX IF EXISTS idx_memo_content;
6-
DROP INDEX IF EXISTS idx_memo_visibility;
4+
DROP INDEX IF EXISTS idx_memo_visibility;
5+
6+
-- Drop deprecated tags column.
7+
ALTER TABLE memo DROP COLUMN tags;

0 commit comments

Comments
 (0)