@cat-factory/node-server 0.18.6 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ ALTER TABLE "workspace_settings" ADD COLUMN "spend_currency" text;
2
+ --> statement-breakpoint
3
+ ALTER TABLE "workspace_settings" ADD COLUMN "spend_monthly_limit" double precision;
4
+ --> statement-breakpoint
5
+ ALTER TABLE "workspace_settings" ADD COLUMN "spend_model_prices" text;
6
+ --> statement-breakpoint
7
+ CREATE TABLE "incident_enrichment_connections" (
8
+ "workspace_id" text PRIMARY KEY NOT NULL,
9
+ "credentials" text NOT NULL,
10
+ "summary" text DEFAULT '{}' NOT NULL,
11
+ "created_at" bigint NOT NULL,
12
+ "updated_at" bigint NOT NULL
13
+ );
14
+ --> statement-breakpoint
15
+ CREATE TABLE "account_settings" (
16
+ "account_id" text PRIMARY KEY NOT NULL,
17
+ "config" text NOT NULL,
18
+ "secrets_cipher" text,
19
+ "summary" text DEFAULT '{}' NOT NULL,
20
+ "created_at" bigint NOT NULL,
21
+ "updated_at" bigint NOT NULL
22
+ );
23
+ --> statement-breakpoint
24
+ CREATE INDEX "idx_token_usage_workspace" ON "token_usage" USING btree ("workspace_id","created_at");