Skip to content

Commit

Permalink
chore: fix migration script for sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Feb 5, 2025
1 parent 54a48b5 commit 7996586
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions store/migration/sqlite/0.24/00__memo.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-- Drop deprecated tags column.
ALTER TABLE memo DROP COLUMN tags;

-- Remove deprecated indexes.
DROP INDEX IF EXISTS idx_memo_tags;
DROP INDEX IF EXISTS idx_memo_content;
DROP INDEX IF EXISTS idx_memo_visibility;
DROP INDEX IF EXISTS idx_memo_visibility;

-- Drop deprecated tags column.
ALTER TABLE memo DROP COLUMN tags;

0 comments on commit 7996586

Please sign in to comment.