mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Add host and hostServer columns to server model and migration
This commit is contained in:
parent
60dd711856
commit
82cee64860
15
package-lock.json
generated
15
package-lock.json
generated
@ -4577,6 +4577,21 @@
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-x64-msvc": {
|
||||
"version": "15.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.3.0.tgz",
|
||||
"integrity": "sha512-vHUQS4YVGJPmpjn7r5lEZuMhK5UQBNBRSB+iGDvJjaNk649pTIcRluDWNb9siunyLLiu/LDPHfvxBtNamyuLTw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user