feat: remove InfoPageBlock model from Prisma schema

This commit is contained in:
Kirill
2026-05-19 15:14:38 +05:00
parent 57275514bf
commit 17b683f131
2 changed files with 10 additions and 13 deletions
@@ -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;
-13
View File
@@ -259,19 +259,6 @@ model AuthCode {
@@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 {
id String @id @default(cuid())