fix products listing

This commit is contained in:
2026-03-27 23:17:21 +01:00
parent ec05101037
commit 9ec329b1d6
429 changed files with 9816 additions and 3774 deletions

View File

@@ -11,8 +11,8 @@ import (
"gorm.io/gorm"
)
const GENERATED_FILES_FOLDER = "./app/model/prestadb"
const GENERATED_MODEL_PKG = "prestadb"
const GENERATED_FILES_FOLDER = "./app/model/dbmodel"
const GENERATED_MODEL_PKG = "dbmodel"
type GormGenModels struct {
db *gorm.DB
@@ -115,7 +115,7 @@ func (m *GormGenModels) cleanupGeneratedFiles() error {
return err
}
// Remove package prestadb imports that reference generated DO
// Remove package dbmodel imports that reference generated DO
// and clean up the code
content = m.cleanModelContent(content)