Skip to content

Commit

Permalink
feat(evaluation): HITL evaluations db migrations (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
geclos authored Nov 14, 2024
1 parent bf7695f commit baf028a
Show file tree
Hide file tree
Showing 5 changed files with 6,712 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/drizzle/0100_spicy_korg.sql
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;
2 changes: 2 additions & 0 deletions packages/core/drizzle/0101_special_scarlet_witch.sql
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";
Loading

0 comments on commit baf028a

Please sign in to comment.