Explorar el Código

fix: PaymentRecord加入AutoMigrate列表

lq hace 1 mes
padre
commit
338c218e2d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      internal/initialize/gorm.go

+ 1 - 0
internal/initialize/gorm.go

@@ -55,6 +55,7 @@ func RegisterTables() {
 		dao.Channel{},
 		dao.ParkingLot{},
 		dao.VehicleRecord{},
+		dao.PaymentRecord{},
 		dao.UHFReader{},
 		dao.Camera{},
 		dao.Shortlist{},