Skip to content
Source
Sign inSign up
samwillis/neonbricks
Open History to see the last commit

0006_aberrant_professor_monster.sql

3 lines364 Bytes

1ALTER TABLE "ai_generations" ADD COLUMN "session" uuid;--> statement-breakpoint
2CREATE INDEX "ai_generations_target_created" ON "ai_generations" USING btree ("target","created_at","id");--> statement-breakpoint
3CREATE INDEX "ai_generations_legacy_created" ON "ai_generations" USING btree ("world","guest","created_at","id") WHERE "ai_generations"."target" IS NULL;