feat: 添加 ip 追踪
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "records" ADD COLUMN "ip" TEXT;
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user