trilium/db/migrations/0071__fix_sync_entity_names.sql
2018-01-30 23:23:19 -05:00

4 lines
No EOL
318 B
SQL

UPDATE sync SET entityName = 'note_images' WHERE entityName = 'notes_image';
UPDATE sync SET entityName = 'note_tree' WHERE entityName = 'notes_tree';
UPDATE sync SET entityName = 'note_revisions' WHERE entityName = 'notes_history';
UPDATE sync SET entityName = 'note_reordering' WHERE entityName = 'notes_reordering';