fix: make development database seeding reliable

This commit is contained in:
2026-07-30 10:03:45 +08:00
parent 98585aa521
commit bf370605d4
3 changed files with 9 additions and 0 deletions

View File

@@ -411,6 +411,7 @@ public static class DevelopmentPlatformAdminSeeder
IdempotencyKey = "demo-platform-payment-quote",
Status = PlatformBillingQuoteStatus.Converted,
Purpose = PlatformBillingOrderPurpose.NewSubscription,
OriginalAmountCents = 19900,
TotalAmountCents = 19900,
ExpiresAt = DateTimeOffset.UtcNow.AddDays(7)
};
@@ -422,6 +423,7 @@ public static class DevelopmentPlatformAdminSeeder
IdempotencyKey = "demo-platform-payment-order",
Purpose = PlatformBillingOrderPurpose.NewSubscription,
Status = PlatformBillingOrderStatus.PendingPayment,
OriginalAmountCents = 19900,
TotalAmountCents = 19900,
ExpiresAt = DateTimeOffset.UtcNow.AddDays(7)
};