Files
sealos/controllers/pkg/pay
Jiahui 4145fc6a9b feat(account-service): migrate PaymentRefund table to support multiple refunds per order (#6315)
* feat: migrate PaymentRefund table to support multiple refunds per order

- Add OrderID field to PaymentRefund struct for business logic
- Add RowID UUID primary key for CockroachDB compatibility
- Migrate ID primary key to RowID using atomic transaction
- Copy existing ID values to OrderID field
- Remove primary key constraint from ID field
- Convert trade_no from UUID to TEXT type if needed
- Enable multiple partial refunds per payment order

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* ci fix

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-09 15:08:51 +08:00
..
2023-10-16 13:20:26 +08:00