Clean public release with: - Go/Gin/PostgreSQL/Redis architecture - Multi-tenant support - JWT authentication - Docker Compose deployment - Environment-based configuration
12 lines
170 B
Go
12 lines
170 B
Go
package infrastructure
|
|
|
|
import (
|
|
"mengstack/internal/modules/auth/domain"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
func Migrate(db *gorm.DB) error {
|
|
return db.AutoMigrate(&domain.User{})
|
|
}
|