mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
cleanup columns from notes table
This commit is contained in:
3
migrations/0002__cleanup_unused_columns_from_notes.sql
Normal file
3
migrations/0002__cleanup_unused_columns_from_notes.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user