@cat-factory/node-server 0.7.5 → 0.9.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,13 @@
1
+ CREATE TABLE "model_presets" (
2
+ "workspace_id" text,
3
+ "id" text,
4
+ "name" text NOT NULL,
5
+ "base_model_id" text NOT NULL,
6
+ "overrides" text DEFAULT '{}' NOT NULL,
7
+ "is_default" integer DEFAULT 0 NOT NULL,
8
+ "created_at" bigint NOT NULL,
9
+ CONSTRAINT "model_presets_pkey" PRIMARY KEY("workspace_id","id")
10
+ );
11
+ --> statement-breakpoint
12
+ ALTER TABLE "blocks" ADD COLUMN "model_preset_id" text;--> statement-breakpoint
13
+ CREATE INDEX "idx_model_presets_default" ON "model_presets" ("workspace_id","is_default");