完善订单交接结账流程留痕

This commit is contained in:
yml2213
2026-08-28 23:48:32 +08:00
parent a9a9127076
commit c87883cc65
27 changed files with 915 additions and 5 deletions
+3
View File
@@ -38,8 +38,10 @@ func NewTestDBWithName(name string) *gorm.DB {
func MigrateListingLifecycleTestSchema(db *gorm.DB) error {
return db.AutoMigrate(
&model.User{},
&model.AdminUser{},
&model.GameAccount{},
&model.RentalListing{},
&model.ListingUpload{},
&model.ListingStatusEvent{},
)
}
@@ -61,6 +63,7 @@ func MigrateRentalTransactionTestSchema(db *gorm.DB) error {
&model.WalletLedger{},
&model.RenterGrowthLedger{},
&model.AuditLog{},
&model.ProcessEvent{},
&model.ChatConversation{},
&model.ChatParticipant{},
&model.ChatAdminConversationState{},