mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Uptime History DB Model
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "uptime_history" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"applicationId" INTEGER NOT NULL DEFAULT 1,
|
||||
"online" BOOLEAN NOT NULL DEFAULT true,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
CONSTRAINT "uptime_history_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
Reference in New Issue
Block a user