feat: 添加 ip 追踪

This commit is contained in:
2026-06-09 18:43:54 +08:00
parent ca654754ae
commit 7571316685
10 changed files with 261 additions and 0 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "records" ADD COLUMN "ip" TEXT;
+1
View File
@@ -30,6 +30,7 @@ model Host {
model Record {
id String @id @default(cuid())
hostname String
ip String?
timestamp DateTime @default(now())
isStarred Boolean @default(false)
createdAt DateTime @default(now())