mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
monitoring percentage & gb
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `cpuUsage` on the `server_monitoring` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `gpuUsage` on the `server_monitoring` table. All the data in the column will be lost.
|
||||
- Added the required column `cpuPercentUsage` to the `server_monitoring` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `diskPercentUsage` to the `server_monitoring` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `gpuPercentUsage` to the `server_monitoring` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `memoryPercentUsage` to the `server_monitoring` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "server_monitoring" DROP COLUMN "cpuUsage",
|
||||
DROP COLUMN "gpuUsage",
|
||||
ADD COLUMN "cpuPercentUsage" DOUBLE PRECISION NOT NULL,
|
||||
ADD COLUMN "diskPercentUsage" DOUBLE PRECISION NOT NULL,
|
||||
ADD COLUMN "gpuPercentUsage" DOUBLE PRECISION NOT NULL,
|
||||
ADD COLUMN "memoryPercentUsage" DOUBLE PRECISION NOT NULL;
|
||||
Reference in New Issue
Block a user