https://github.com/biotinker/LibreTasks/commit/3e11fab17c7ce0854a8647c0f2cef6374655c9e3 introduces a new Power Off action. However, the action is registered in DbMigration#initialVersion() rather than in a method called from DbMigration#migrateToLatest(), and the db version doesn’t get bumped. As a result, the new entry will be added to a fresh DB but not to a DB migrated from an earlier version.
I’ll look into this (should be pretty straightforward) and submit a merge request.
https://github.com/biotinker/LibreTasks/commit/3e11fab17c7ce0854a8647c0f2cef6374655c9e3 introduces a new Power Off action. However, the action is registered in
DbMigration#initialVersion()
rather than in a method called fromDbMigration#migrateToLatest()
, and the db version doesn’t get bumped. As a result, the new entry will be added to a fresh DB but not to a DB migrated from an earlier version.I’ll look into this (should be pretty straightforward) and submit a merge request.