mirror of
https://github.com/doolijb/serene-pub.git
synced 2026-08-10 17:33:33 +00:00
3 lines
No EOL
460 B
SQL
3 lines
No EOL
460 B
SQL
ALTER TABLE "chat_world_prompt_configs" ADD COLUMN "narrator_name" text DEFAULT 'The World' NOT NULL;--> statement-breakpoint
|
|
ALTER TABLE "chats" ADD COLUMN "chat_world_prompt_config_id" integer;--> statement-breakpoint
|
|
ALTER TABLE "chats" ADD CONSTRAINT "chats_chat_world_prompt_config_id_chat_world_prompt_configs_id_fk" FOREIGN KEY ("chat_world_prompt_config_id") REFERENCES "public"."chat_world_prompt_configs"("id") ON DELETE set null ON UPDATE no action; |