mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Add host and hostServer columns to server model and migration
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "server" ADD COLUMN "host" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "hostServer" TEXT;
|
||||
@@ -34,6 +34,8 @@ model uptime_history {
|
||||
|
||||
model server {
|
||||
id Int @id @default(autoincrement())
|
||||
host Boolean @default(false)
|
||||
hostServer String?
|
||||
name String
|
||||
os String?
|
||||
ip String?
|
||||
|
||||
Reference in New Issue
Block a user