trilium/migrations/0002__cleanup_unused_columns_from_notes.sql
2017-10-22 21:05:01 -04:00

3 lines
No EOL
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;