mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Add uptime column to server model
This commit is contained in:
parent
58f70ad1d9
commit
b08d5b0fef
@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "application" ADD COLUMN "ignoreNotFoundErr" BOOLEAN NOT NULL DEFAULT false;
|
||||
@ -0,0 +1,11 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `ignoreNotFoundErr` on the `application` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "application" DROP COLUMN "ignoreNotFoundErr";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "server" ADD COLUMN "uptime" TEXT;
|
||||
@ -61,6 +61,7 @@ model server {
|
||||
ramUsage String?
|
||||
diskUsage String?
|
||||
online Boolean @default(true)
|
||||
uptime String?
|
||||
}
|
||||
|
||||
model settings {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user