store requests
This commit is contained in:
parent
d2cc06244e
commit
3d9aa4f459
3 changed files with 40 additions and 0 deletions
|
|
@ -7,6 +7,16 @@ datasource db {
|
|||
url = "file:../config/nsecbunker.db"
|
||||
}
|
||||
|
||||
model Request {
|
||||
id String @id @default(uuid())
|
||||
keyName String
|
||||
createdAt DateTime @default(now())
|
||||
requestId String
|
||||
remotePubkey String
|
||||
method String
|
||||
params String?
|
||||
}
|
||||
|
||||
model KeyUser {
|
||||
id Int @id @default(autoincrement())
|
||||
keyName String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue