Add PanOS

This commit is contained in:
Douglas Barone 2021-01-14 10:07:19 -04:00
parent af389b145d
commit 00097c68d2
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
-- CreateTable
CREATE TABLE "PanOS" (
"id" SERIAL,
"description" TEXT NOT NULL,
"ip" TEXT NOT NULL,
"encryptedKey" TEXT NOT NULL,
"note" TEXT,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "PanOS.ip_unique" ON "PanOS"("ip");

View File

@ -122,3 +122,13 @@ model Statistic {
totalWifiDevices Int totalWifiDevices Int
onlineWifiDevices Int onlineWifiDevices Int
} }
model PanOS {
id Int @id @default(autoincrement())
description String
ip String @unique
encryptedKey String
note String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}