1
0
mirror of https://github.com/zadam/trilium.git synced 2025-06-06 18:08:33 +02:00
trilium/migrations/0002__cleanup_unused_columns_from_notes.sql
2017-10-22 21:05:01 -04:00

3 lines
188 B
SQL

CREATE TABLE notes_mig AS SELECT note_id, note_title, note_text, note_clone_id, date_created, date_modified, encryption FROM notes;
DROP TABLE notes;
ALTER TABLE notes_mig RENAME TO notes;