refactor(db): remove active column in Warning table

This commit is contained in:
Anthony Berg 2024-01-04 12:44:52 +00:00
parent a498cde933
commit 77bbe97c6a
2 changed files with 8 additions and 1 deletions

View File

@ -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";

View File

@ -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
}