mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Change hostServer column type from String to Int in server model and migration
This commit is contained in:
parent
82cee64860
commit
01470f5ce1
@ -0,0 +1,9 @@
|
|||||||
|
/*
|
||||||
|
Warnings:
|
||||||
|
|
||||||
|
- The `hostServer` column on the `server` table would be dropped and recreated. This will lead to data loss if there is data in the column.
|
||||||
|
|
||||||
|
*/
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "server" DROP COLUMN "hostServer",
|
||||||
|
ADD COLUMN "hostServer" INTEGER;
|
||||||
@ -35,7 +35,7 @@ model uptime_history {
|
|||||||
model server {
|
model server {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
host Boolean @default(false)
|
host Boolean @default(false)
|
||||||
hostServer String?
|
hostServer Int?
|
||||||
name String
|
name String
|
||||||
os String?
|
os String?
|
||||||
ip String?
|
ip String?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user