Event
Stores UEvent list
Schema
id
: IDsignature
: Stringauthor
: Stringsigner
: Stringkind
: Intpayload
: Json
Relations
- Transaction - ONE
- Balance - MANY
- BalanceSnapshot - MANY
Prisma definition
model Event {
id String @map("id")
signature String @map("signature")
author String @map("author")
signer String @map("signer")
kind Int @map("kind")
payload Json @map("payload") @db.JsonB
transaction Transaction? @relation
balanceSnapshots BalanceSnapshot[] @relation
balances Balance[] @relation
@@id([id])
@@unique([signature])
@@map("events")
}