Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/junior/migrations/0004_big_malice.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ALTER TABLE "junior_conversations" ADD COLUMN "execution_model_profile" text;--> statement-breakpoint
ALTER TABLE "junior_conversations" ADD COLUMN "execution_reasoning_level" text;--> statement-breakpoint
ALTER TABLE "junior_conversations" ADD COLUMN "execution_instructions" text[] DEFAULT '{}'::text[] NOT NULL;--> statement-breakpoint
ALTER TABLE "junior_conversations" ADD COLUMN "execution_allowed_tool_names" text[];
9 changes: 9 additions & 0 deletions packages/junior/migrations/0005_solid_franklin_storm.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CREATE TABLE "junior_conversation_turns" (
"conversation_id" text NOT NULL,
"turn_id" text NOT NULL,
"starting_seq" integer NOT NULL,
CONSTRAINT "junior_conversation_turns_conversation_id_turn_id_pk" PRIMARY KEY("conversation_id","turn_id")
);
--> statement-breakpoint
ALTER TABLE "junior_conversation_turns" ADD CONSTRAINT "junior_conversation_turns_conversation_id_junior_conversations_conversation_id_fk" FOREIGN KEY ("conversation_id") REFERENCES "public"."junior_conversations"("conversation_id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "junior_conversation_turns" ADD CONSTRAINT "junior_conversation_turns_starting_step_fk" FOREIGN KEY ("conversation_id","starting_seq") REFERENCES "public"."junior_agent_steps"("conversation_id","seq") ON DELETE no action ON UPDATE no action;
Loading
Loading