Skip to content

A local-first personal finance app

:bug: (dashboards) remove faulty dashboard widgets (#3785)

Matiss Janis Aboltins1f6977da81cd
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.