mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 20:06:19 +02:00
feat(server): remove old keyboard shortcuts from options (closes #4543)
This commit is contained in:
@@ -6,6 +6,16 @@
|
||||
|
||||
// Migrations should be kept in descending order, so the latest migration is first.
|
||||
const MIGRATIONS: (SqlMigration | JsMigration)[] = [
|
||||
// Clean up obsolete keyboard shortcut options from renamed actions
|
||||
{
|
||||
version: 237,
|
||||
sql: /*sql*/`
|
||||
DELETE FROM options WHERE name = 'keyboardShortcutsShowNoteRevisions';
|
||||
DELETE FROM entity_changes WHERE entityName = 'options' AND entityId = 'keyboardShortcutsShowNoteRevisions';
|
||||
DELETE FROM options WHERE name = 'keyboardShortcutsForceSaveNoteRevision';
|
||||
DELETE FROM entity_changes WHERE entityName = 'options' AND entityId = 'keyboardShortcutsForceSaveNoteRevision';
|
||||
`
|
||||
},
|
||||
// Add text representation column to blobs table
|
||||
{
|
||||
version: 236,
|
||||
|
||||
Reference in New Issue
Block a user