|
|
@@ -232,7 +232,7 @@ func NewEngine(ctx context.Context, migrateFunc func(*xorm.Engine) error) (err e |
|
|
|
if err = newEngine(ctx, migrateFunc, xStatistic, tablesStatistic, setting.DatabaseStatistic); err != nil { |
|
|
|
return fmt.Errorf("newEngine statistic failed: %v", err) |
|
|
|
} |
|
|
|
MigrateCustomStatic(xStatistic) |
|
|
|
MigrateCustomStatic(x, xStatistic) |
|
|
|
|
|
|
|
HasEngine = true |
|
|
|
|
|
|
|