From c16a2a0639431fe9ef4774ea703b1e908391012c Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 5 Oct 2022 22:19:02 +0100 Subject: [PATCH] make `autoClose` required --- db/mysql/schema.prisma | 2 +- db/postgresql/schema.prisma | 2 +- db/sqlite/schema.prisma | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/mysql/schema.prisma b/db/mysql/schema.prisma index a3e1490..6f25802 100644 --- a/db/mysql/schema.prisma +++ b/db/mysql/schema.prisma @@ -112,7 +112,7 @@ model Feedback { } model Guild { - autoClose Int? + autoClose Int @default(43200000) autoTag Json @default("[]") archive Boolean @default(true) blocklist Json @default("[]") diff --git a/db/postgresql/schema.prisma b/db/postgresql/schema.prisma index c711a95..02f97c8 100644 --- a/db/postgresql/schema.prisma +++ b/db/postgresql/schema.prisma @@ -112,7 +112,7 @@ model Feedback { } model Guild { - autoClose Int? + autoClose Int @default(43200000) autoTag Json @default("[]") archive Boolean @default(true) blocklist Json @default("[]") diff --git a/db/sqlite/schema.prisma b/db/sqlite/schema.prisma index 2a45cf5..6e45541 100644 --- a/db/sqlite/schema.prisma +++ b/db/sqlite/schema.prisma @@ -112,7 +112,7 @@ model Feedback { } model Guild { - autoClose Int? + autoClose Int @default(43200000) autoTag String @default("[]") archive Boolean @default(true) blocklist String @default("[]")