pre-processing

This commit is contained in:
Maycon Santos
2025-07-10 01:28:59 +02:00
parent 8942c40fde
commit 51eee4c5ac
7 changed files with 308 additions and 22 deletions

View File

@@ -100,6 +100,7 @@ func NewSqlStore(ctx context.Context, db *gorm.DB, storeEngine types.Engine, met
&types.Account{}, &types.Policy{}, &types.PolicyRule{}, &route.Route{}, &nbdns.NameServerGroup{},
&installation{}, &types.ExtraSettings{}, &posture.Checks{}, &nbpeer.NetworkAddress{},
&networkTypes.Network{}, &routerTypes.NetworkRouter{}, &resourceTypes.NetworkResource{}, &types.AccountOnboarding{},
&types.NetworkMapRecord{}, // <-- Added for precomputed network maps
)
if err != nil {
return nil, fmt.Errorf("auto migratePreAuto: %w", err)