work
This commit is contained in:
@@ -32,7 +32,7 @@ CREATE TABLE IF NOT EXISTS note_revisions (
|
||||
CREATE INDEX IF NOT EXISTS idx_notes_workspace ON notes(workspace_id, updated_at DESC);
|
||||
CREATE INDEX IF NOT EXISTS idx_note_revisions_note ON note_revisions(note_id, id DESC);
|
||||
|
||||
-- Zachowanie danych z wersji 0.4.x: stara notatka staje się workspace z jedną notatką.
|
||||
-- Preserve data from version 0.4.x: the old note becomes a workspace with one note.
|
||||
INSERT OR IGNORE INTO workspaces (id, slug, title, password_hash, created_at, updated_at)
|
||||
SELECT id, slug, title, password_hash, created_at, updated_at FROM pads;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user