Changelog-Seite, option zum verstecken von Einträgen auf dieser
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
model Changelog {
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
previewImage String?
|
||||
text String
|
||||
createdAt DateTime @default(now())
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
previewImage String?
|
||||
text String
|
||||
createdAt DateTime @default(now())
|
||||
showOnChangelogPage Boolean @default(true)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Changelog" ADD COLUMN "showOnChangelogPage" BOOLEAN NOT NULL DEFAULT true;
|
||||
Reference in New Issue
Block a user