add platform interface according to env

This commit is contained in:
2026-03-18 19:16:49 +01:00
parent 4aa67db3fd
commit beb9b479df
8 changed files with 339 additions and 88 deletions

4
local/utl/db/db.go Normal file → Executable file
View File

@@ -76,6 +76,10 @@ func runMigrations(db *gorm.DB) {
logging.Error("Failed to run password security migration: %v", err)
}
if err := migrations.RunAddPlatformColumnsMigration(db); err != nil {
logging.Error("Failed to run platform columns migration: %v", err)
}
logging.Info("Custom database migrations completed")
}