update migrations

This commit is contained in:
Wells Bunker 2025-09-10 23:07:51 -06:00
parent c78f7689e7
commit 440489d8be
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
4 changed files with 5 additions and 13 deletions

View File

@ -0,0 +1 @@
ALTER TABLE "users" ADD COLUMN "suggested_prompts" jsonb DEFAULT '{"suggestedPrompts":{"report":["provide a trend analysis of quarterly profits","evaluate product performance across regions"],"dashboard":["create a sales performance dashboard","design a revenue forecast dashboard"],"visualization":["create a metric for monthly sales","show top vendors by purchase volume"],"help":["what types of analyses can you perform?","what questions can I as buster?","what data models are available for queries?","can you explain your forecasting capabilities?"]},"updatedAt":"2025-09-11T05:07:11.229Z"}'::jsonb NOT NULL;

View File

@ -1,9 +0,0 @@
ALTER TABLE "users" ADD COLUMN "suggested_prompts" jsonb DEFAULT '{
"suggestedPrompts": {
"report": [],
"dashboard": [],
"visualization": [],
"help": []
},
"updatedAt": null
}'::jsonb NOT NULL;

View File

@ -1,5 +1,5 @@
{
"id": "5c4fc750-4a28-4b63-b965-1009700bf2fc",
"id": "7a65bca0-ad13-48f5-8f7e-6ebe98483825",
"prevId": "a4ecb59c-6169-47eb-b65a-f9f17a48b6ee",
"version": "7",
"dialect": "postgresql",
@ -6711,7 +6711,7 @@
"type": "jsonb",
"primaryKey": false,
"notNull": true,
"default": "'{\n \"suggestedPrompts\": {\n \"report\": [],\n \"dashboard\": [],\n \"visualization\": [],\n \"help\": []\n },\n \"updatedAt\": null\n }'::jsonb"
"default": "'{\"suggestedPrompts\":{\"report\":[\"provide a trend analysis of quarterly profits\",\"evaluate product performance across regions\"],\"dashboard\":[\"create a sales performance dashboard\",\"design a revenue forecast dashboard\"],\"visualization\":[\"create a metric for monthly sales\",\"show top vendors by purchase volume\"],\"help\":[\"what types of analyses can you perform?\",\"what questions can I as buster?\",\"what data models are available for queries?\",\"can you explain your forecasting capabilities?\"]},\"updatedAt\":\"2025-09-11T05:07:11.229Z\"}'::jsonb"
}
},
"indexes": {},

View File

@ -656,8 +656,8 @@
{
"idx": 93,
"version": "7",
"when": 1757461864906,
"tag": "0093_silly_wiccan",
"when": 1757567231254,
"tag": "0093_flimsy_hemingway",
"breakpoints": true
}
]