From 905d9f481121766bdfbe640c4ef8916bac478acf Mon Sep 17 00:00:00 2001 From: smyalygames Date: Mon, 20 Feb 2023 13:09:24 +0000 Subject: [PATCH] feat(db): add manual verification --- prisma/migrations/20230220123804_verify_manual/migration.sql | 2 ++ prisma/schema.prisma | 1 + 2 files changed, 3 insertions(+) create mode 100644 prisma/migrations/20230220123804_verify_manual/migration.sql diff --git a/prisma/migrations/20230220123804_verify_manual/migration.sql b/prisma/migrations/20230220123804_verify_manual/migration.sql new file mode 100644 index 0000000..7f5aecd --- /dev/null +++ b/prisma/migrations/20230220123804_verify_manual/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "Verify" ADD COLUMN "manual" BOOLEAN NOT NULL DEFAULT false; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 1ec76c7..f677a4d 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -63,6 +63,7 @@ model Verify { joinTime DateTime @default(now()) startTime DateTime? finishTime DateTime? + manual Boolean @default(false) // If they were verified with the verify command timedOut Boolean @default(false) // If they got kicked out of verification because they timed out //complete Boolean @default(false) // If the verification was incomplete // Roles they got from verification