trilium/db/migrations/0175__rename_eraseNotesAfterTimeInSeconds.sql
2021-01-30 22:12:38 +01:00

2 lines
252 B
SQL

UPDATE options SET name = 'eraseEntitiesAfterTimeInSeconds' WHERE name = 'eraseNotesAfterTimeInSeconds';
UPDATE entity_changes SET entityId = 'eraseEntitiesAfterTimeInSeconds' WHERE entityName = 'options' AND entityId = 'eraseNotesAfterTimeInSeconds';