-
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(evaluation): HITL evaluations db migrations (#609)
- Loading branch information
Showing
5 changed files
with
6,712 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,8 @@ | ||
ALTER TYPE "latitude"."metadata_type" ADD VALUE 'default';--> statement-breakpoint | ||
CREATE TABLE IF NOT EXISTS "latitude"."evaluation_metadata_default" ( | ||
"id" bigserial PRIMARY KEY NOT NULL, | ||
"created_at" timestamp DEFAULT now() NOT NULL, | ||
"updated_at" timestamp DEFAULT now() NOT NULL | ||
); | ||
--> statement-breakpoint | ||
ALTER TABLE "latitude"."evaluation_results" ADD COLUMN "reason" text; |
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 TYPE "latitude"."metadata_type" ADD VALUE 'manual';--> statement-breakpoint | ||
ALTER TABLE "latitude"."evaluation_metadata_default" RENAME TO "evaluation_metadata_manuals"; |
Oops, something went wrong.