diff --git a/prisma/migrations/20240104124342_remove_active_in_warning/migration.sql b/prisma/migrations/20240104124342_remove_active_in_warning/migration.sql new file mode 100644 index 0000000..30f391a --- /dev/null +++ b/prisma/migrations/20240104124342_remove_active_in_warning/migration.sql @@ -0,0 +1,8 @@ +/* + Warnings: + + - You are about to drop the column `active` on the `Warning` table. All the data in the column will be lost. + +*/ +-- AlterTable +ALTER TABLE "Warning" DROP COLUMN "active"; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 4048b9a..0e165c4 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -256,7 +256,6 @@ model Warning { mod User @relation("warnMod", fields: [modId], references: [id]) modId String time DateTime @default(now()) - active Boolean @default(true) note String }