diff --git a/prisma/migrations/20250410133520_move_limits_to_problem/migration.sql b/prisma/migrations/20250410133520_move_limits_to_problem/migration.sql new file mode 100644 index 0000000..60c0db0 --- /dev/null +++ b/prisma/migrations/20250410133520_move_limits_to_problem/migration.sql @@ -0,0 +1,14 @@ +/* + Warnings: + + - You are about to drop the column `memoryLimit` on the `DockerConfig` table. All the data in the column will be lost. + - You are about to drop the column `timeLimit` on the `DockerConfig` table. All the data in the column will be lost. + +*/ +-- AlterTable +ALTER TABLE "DockerConfig" DROP COLUMN "memoryLimit", +DROP COLUMN "timeLimit"; + +-- AlterTable +ALTER TABLE "Problem" ADD COLUMN "memoryLimit" INTEGER NOT NULL DEFAULT 128, +ADD COLUMN "timeLimit" INTEGER NOT NULL DEFAULT 1000;