-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(evaluations): rename some span columns and change tenancy to the…
… workpsace (#713)
- Loading branch information
Showing
7 changed files
with
11,928 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE "latitude"."spans" RENAME COLUMN "tool_calls" TO "tools"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ALTER TABLE "latitude"."traces" DROP CONSTRAINT "traces_project_id_projects_id_fk"; | ||
--> statement-breakpoint | ||
DROP INDEX IF EXISTS "traces_project_id_idx";--> statement-breakpoint | ||
ALTER TABLE "latitude"."traces" ADD COLUMN "workspace_id" bigint NOT NULL;--> statement-breakpoint | ||
DO $$ BEGIN | ||
ALTER TABLE "latitude"."traces" ADD CONSTRAINT "traces_workspace_id_workspaces_id_fk" FOREIGN KEY ("workspace_id") REFERENCES "latitude"."workspaces"("id") ON DELETE cascade ON UPDATE no action; | ||
EXCEPTION | ||
WHEN duplicate_object THEN null; | ||
END $$; | ||
--> statement-breakpoint | ||
CREATE INDEX IF NOT EXISTS "traces_workspace_id_idx" ON "latitude"."traces" USING btree ("workspace_id");--> statement-breakpoint | ||
ALTER TABLE "latitude"."traces" DROP COLUMN IF EXISTS "project_id"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE "latitude"."spans" ADD COLUMN "document_uuid" uuid;--> statement-breakpoint | ||
ALTER TABLE "latitude"."spans" DROP COLUMN IF EXISTS "prompt_path"; |
Oops, something went wrong.