mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Drop useless database fields
This commit is contained in:
parent
f490cfce78
commit
35438860c2
|
|
@ -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";
|
||||||
|
|
@ -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("")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue