mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 21:44:17 +02:00
refactor(db): remove active column in Warning table
This commit is contained in:
parent
a498cde933
commit
77bbe97c6a
@ -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";
|
@ -256,7 +256,6 @@ model Warning {
|
|||||||
mod User @relation("warnMod", fields: [modId], references: [id])
|
mod User @relation("warnMod", fields: [modId], references: [id])
|
||||||
modId String
|
modId String
|
||||||
time DateTime @default(now())
|
time DateTime @default(now())
|
||||||
active Boolean @default(true)
|
|
||||||
note String
|
note String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user