Drop useless database fields

This commit is contained in:
Jesse Wierzbinski 2024-04-09 23:33:13 -10:00
parent f490cfce78
commit 35438860c2
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `isReblog` on the `Status` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Status" DROP COLUMN "isReblog";

View file

@ -111,7 +111,6 @@ model Status {
updatedAt DateTime @updatedAt updatedAt DateTime @updatedAt
reblog Status? @relation("StatusToStatus", fields: [reblogId], references: [id], onDelete: Cascade) reblog Status? @relation("StatusToStatus", fields: [reblogId], references: [id], onDelete: Cascade)
reblogId String? @db.Uuid reblogId String? @db.Uuid
isReblog Boolean
content String @default("") content String @default("")
contentType String @default("text/plain") contentType String @default("text/plain")
contentSource String @default("") contentSource String @default("")