Skip to content

Add EscrowTransaction model to Prisma schema - #360

Merged
MissBlue00 merged 2 commits into
MissBlue00:mainfrom
northvictor:issue-241-add-escrow-model
Jul 29, 2026
Merged

MissBlue00 merged 2 commits into
MissBlue00:mainfrom
northvictor:issue-241-add-escrow-model

Conversation

@northvictor

Copy link
Copy Markdown

Closes #241

Adds an EscrowTransaction model for the escrow smart contract data.

Changes:

  • Added EscrowStatus enum: PENDING, FUNDED, RELEASED, CANCELLED, REFUNDED, DISPUTED
  • Added EscrowTransaction model with fields: id, merchantId, sender, receiver, amount, assetCode, milestones (Json), status, createdAt, updatedAt
  • Added escrows relation on Merchant
  • Indexed on (merchantId, status)

Add EscrowTransaction model with EscrowStatus enum for escrow smart
contract data. Includes relation to Merchant and Json milestones field.
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

@sagesan2580 is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@northvictor Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@MissBlue00
MissBlue00 merged commit 4b954c3 into MissBlue00:main Jul 29, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add EscrowTransaction model to Prisma schema

3 participants