Skip to content

feat: Add recharge models and related migrations#29

Merged
VisibleNasir merged 1 commit into
mainfrom
MerchantQRCode
Nov 7, 2025
Merged

feat: Add recharge models and related migrations#29
VisibleNasir merged 1 commit into
mainfrom
MerchantQRCode

Conversation

@VisibleNasir

Copy link
Copy Markdown
Collaborator
  • Created recharge_plans and recharge_orders tables with necessary fields and constraints.
  • Updated migrations to drop and recreate tables with new naming conventions (RechargePlan and RechargeOrder).
  • Added foreign key constraints for user and plan references in recharge orders.
  • Introduced reward and referral models with enums for reward types and statuses.
  • Implemented refund request handling with new WrongSendRequest model and related changes to p2pTransfer.
  • Updated Prisma schema to reflect new models and relationships.
  • Seeded initial data for rewards and recharge plans, including real 2025 plans for various operators.
  • Enhanced UI components for better dark mode support in animated testimonials.

- Created `recharge_plans` and `recharge_orders` tables with necessary fields and constraints.
- Updated migrations to drop and recreate tables with new naming conventions (`RechargePlan` and `RechargeOrder`).
- Added foreign key constraints for user and plan references in recharge orders.
- Introduced reward and referral models with enums for reward types and statuses.
- Implemented refund request handling with new `WrongSendRequest` model and related changes to `p2pTransfer`.
- Updated Prisma schema to reflect new models and relationships.
- Seeded initial data for rewards and recharge plans, including real 2025 plans for various operators.
- Enhanced UI components for better dark mode support in animated testimonials.
@VisibleNasir VisibleNasir merged commit b0ca6b1 into main Nov 7, 2025
1 check 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.

1 participant