trilium/db/migrations/0203__delete_singles_special_note.sql

7 lines
300 B
MySQL
Raw Normal View History

2022-11-06 22:18:32 +08:00
DELETE FROM branches WHERE noteId = 'singles';
DELETE FROM notes WHERE noteId = 'singles';
DELETE FROM note_contents WHERE noteId = 'singles';
DELETE FROM note_revisions WHERE noteId = 'singles';
DELETE FROM attributes WHERE noteId = 'singles';
DELETE FROM entity_changes WHERE entityId = 'singles';