forked from baron/baron-sso
네이버 계정 정합성 맞춤
This commit is contained in:
@@ -29,6 +29,9 @@ func Run(db *gorm.DB) error {
|
||||
if err := SanitizeLegacyUserMetadata(db); err != nil {
|
||||
return fmt.Errorf("legacy user metadata sanitize failed: %w", err)
|
||||
}
|
||||
if err := CanonicalizeUserAppointmentTenants(db); err != nil {
|
||||
return fmt.Errorf("user appointment tenant canonicalization failed: %w", err)
|
||||
}
|
||||
|
||||
slog.Info("[Bootstrap] User seed skipped (Kratos is SoT)")
|
||||
slog.Info("[Bootstrap] Bootstrap completed successfully.")
|
||||
@@ -50,7 +53,6 @@ func migrateSchemas(db *gorm.DB) error {
|
||||
&domain.TenantDomain{},
|
||||
&domain.User{},
|
||||
&domain.UserLoginID{},
|
||||
&domain.UserProjectionState{},
|
||||
&domain.UserGroup{},
|
||||
&domain.ApiKey{},
|
||||
&domain.IdentityProviderConfig{},
|
||||
|
||||
Reference in New Issue
Block a user