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:
3
drizzle/0009_add_dashboard_widgets.sql
Normal file
3
drizzle/0009_add_dashboard_widgets.sql
Normal 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";
|
||||
1958
drizzle/meta/0009_snapshot.json
Normal file
1958
drizzle/meta/0009_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -64,6 +64,13 @@
|
||||
"when": 1767125796314,
|
||||
"tag": "0008_fat_stick",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 9,
|
||||
"version": "7",
|
||||
"when": 1768925100873,
|
||||
"tag": "0009_add_dashboard_widgets",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user