mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Refactor settings model in Prisma schema to rename notification_text field to notification_text_application and add notification_text_server field for improved clarity and organization.
This commit is contained in:
parent
f47e22fe27
commit
49eeab4848
@ -0,0 +1,10 @@
|
|||||||
|
/*
|
||||||
|
Warnings:
|
||||||
|
|
||||||
|
- You are about to drop the column `notification_text` on the `settings` table. All the data in the column will be lost.
|
||||||
|
|
||||||
|
*/
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "settings" DROP COLUMN "notification_text",
|
||||||
|
ADD COLUMN "notification_text_application" TEXT,
|
||||||
|
ADD COLUMN "notification_text_server" TEXT;
|
||||||
@ -56,7 +56,8 @@ model server {
|
|||||||
model settings {
|
model settings {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
uptime_checks Boolean @default(true)
|
uptime_checks Boolean @default(true)
|
||||||
notification_text String?
|
notification_text_application String?
|
||||||
|
notification_text_server String?
|
||||||
}
|
}
|
||||||
|
|
||||||
model user {
|
model user {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user