mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix migration script for sqlite
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
-- Drop deprecated tags column.
|
|
||||||
ALTER TABLE memo DROP COLUMN tags;
|
|
||||||
|
|
||||||
-- Remove deprecated indexes.
|
-- Remove deprecated indexes.
|
||||||
|
DROP INDEX IF EXISTS idx_memo_tags;
|
||||||
DROP INDEX IF EXISTS idx_memo_content;
|
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;
|
Reference in New Issue
Block a user