feat: remove InfoPageBlock model from Prisma schema
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
/*
|
||||||
|
Warnings:
|
||||||
|
|
||||||
|
- You are about to drop the `InfoPageBlock` table. If the table is not empty, all the data it contains will be lost.
|
||||||
|
|
||||||
|
*/
|
||||||
|
-- DropTable
|
||||||
|
PRAGMA foreign_keys=off;
|
||||||
|
DROP TABLE "InfoPageBlock";
|
||||||
|
PRAGMA foreign_keys=on;
|
||||||
@@ -259,19 +259,6 @@ model AuthCode {
|
|||||||
@@index([expiresAt])
|
@@index([expiresAt])
|
||||||
}
|
}
|
||||||
|
|
||||||
model InfoPageBlock {
|
|
||||||
id String @id @default(cuid())
|
|
||||||
key String @unique
|
|
||||||
title String
|
|
||||||
body String
|
|
||||||
sort Int @default(0)
|
|
||||||
published Boolean @default(true)
|
|
||||||
createdAt DateTime @default(now())
|
|
||||||
updatedAt DateTime @updatedAt
|
|
||||||
|
|
||||||
@@index([published, sort])
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Настройки оповещений пользователя
|
/// Настройки оповещений пользователя
|
||||||
model NotificationPreference {
|
model NotificationPreference {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
|
|||||||
Reference in New Issue
Block a user