chore(db): adiciona campo dashboardWidgets em userPreferences

- Novo campo jsonb para armazenar ordem e widgets ocultos
- Migração 0009_add_dashboard_widgets criada
This commit is contained in:
Felipe Coutinho
2026-01-20 16:36:43 +00:00
parent 540b250a47
commit 74a9081601
4 changed files with 2005 additions and 34 deletions

View File

@@ -0,0 +1,3 @@
ALTER TABLE "user_preferences" ADD COLUMN "dashboard_widgets" jsonb;--> statement-breakpoint
ALTER TABLE "user_preferences" DROP COLUMN "period_months_before";--> statement-breakpoint
ALTER TABLE "user_preferences" DROP COLUMN "period_months_after";