From 1f6977da81cd36d6fce70f2f698fc84a3676b6c7 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Wed, 6 Nov 2024 22:14:33 +0000 Subject: [PATCH] :bug: (dashboards) remove faulty dashboard widgets (#3785) --- .../migrations/1730744182000_fix_dashboard_table.sql | 7 +++++++ upcoming-release-notes/3785.md | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 packages/loot-core/migrations/1730744182000_fix_dashboard_table.sql create mode 100644 upcoming-release-notes/3785.md diff --git a/packages/loot-core/migrations/1730744182000_fix_dashboard_table.sql b/packages/loot-core/migrations/1730744182000_fix_dashboard_table.sql new file mode 100644 index 0000000000..d7c45d95aa --- /dev/null +++ b/packages/loot-core/migrations/1730744182000_fix_dashboard_table.sql @@ -0,0 +1,7 @@ +BEGIN TRANSACTION; + +UPDATE dashboard +SET tombstone = 1 +WHERE type is NULL; + +COMMIT; diff --git a/upcoming-release-notes/3785.md b/upcoming-release-notes/3785.md new file mode 100644 index 0000000000..3263625075 --- /dev/null +++ b/upcoming-release-notes/3785.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Dashboards: add migration that will remove faulty 'blank' widgets.