comfyui-deploy/web/drizzle/0020_complete_black_tom.sql
2024-01-04 22:29:22 +08:00

9 lines
446 B
SQL

DO $$ BEGIN
CREATE TYPE "machine_status" AS ENUM('ready', 'building', 'error');
EXCEPTION
WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
ALTER TABLE "comfyui_deploy"."machines" ADD COLUMN "status" "machine_status" DEFAULT 'ready' NOT NULL;--> statement-breakpoint
ALTER TABLE "comfyui_deploy"."machines" ADD COLUMN "snapshot" jsonb;--> statement-breakpoint
ALTER TABLE "comfyui_deploy"."machines" ADD COLUMN "build_log" text;