This commit is contained in:
Mateusz Gruszczyński
2026-07-20 15:59:15 +02:00
parent 771494671b
commit dfa0828c38
42 changed files with 964 additions and 755 deletions
+1 -1
View File
@@ -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;