Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/database/migrations/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ enum TreasuryWalletType {
COLD
}

enum EscrowStatus {
PENDING
FUNDED
RELEASED
CANCELLED
REFUNDED
DISPUTED
}

enum UserRole {
ADMIN
VIEWER
Expand All @@ -54,6 +63,7 @@ model Merchant {
customers Customer[]
subscriptions Subscription[]
users User[]
escrows EscrowTransaction[]

@@map("merchants")
}
Expand Down
Loading