feat(db): add idempotency keys table
This commit is contained in:
@@ -21,6 +21,16 @@ type ChatMember struct {
|
||||
UserID uuid.UUID
|
||||
}
|
||||
|
||||
type IdempotencyKey struct {
|
||||
UserID uuid.UUID
|
||||
Method string
|
||||
Path string
|
||||
Key string
|
||||
RequestHash string
|
||||
MessageID uuid.UUID
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
ID uuid.UUID
|
||||
ChatID uuid.UUID
|
||||
|
||||
Reference in New Issue
Block a user