diff --git a/prisma/migrations/20240513234910_evaluation_fields_optional/migration.sql b/prisma/migrations/20240513234910_evaluation_fields_optional/migration.sql new file mode 100644 index 00000000..57577de1 --- /dev/null +++ b/prisma/migrations/20240513234910_evaluation_fields_optional/migration.sql @@ -0,0 +1,9 @@ +-- Remove columns +ALTER TABLE "Evaluation" DROP COLUMN "model", + DROP COLUMN "prompt", + DROP COLUMN "spanStartTime"; +-- Alter columns to be nullable +ALTER TABLE "Evaluation" +ALTER COLUMN "ltUserId" DROP NOT NULL, + ALTER COLUMN "ltUserScore" DROP NOT NULL, + ALTER COLUMN "testId" DROP NOT NULL; \ No newline at end of file