From f19fb0ef2a0e66cf10e94bc018c35525fb3b1794 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Sat, 28 Feb 2026 23:24:19 +0000 Subject: [PATCH] remove organization table's old arcgis columns --- auth/auth.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/auth/auth.go b/auth/auth.go index 9a40c8e4..dc3487dd 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -16,7 +16,6 @@ import ( "github.com/Gleipnir-Technology/nidus-sync/db/sql" "github.com/Gleipnir-Technology/nidus-sync/debug" "github.com/aarondl/opt/omit" - "github.com/aarondl/opt/omitnull" "github.com/rs/zerolog/log" "golang.org/x/crypto/bcrypt" ) @@ -136,10 +135,7 @@ func SignupUser(ctx context.Context, username string, name string, password stri return nil, fmt.Errorf("Cannot signup user, failed to create hashed password: %w", err) } o_setter := models.OrganizationSetter{ - Name: omit.From(fmt.Sprintf("%s's organization", username)), - ArcgisID: omitnull.From(""), - ArcgisName: omitnull.From(""), - FieldseekerURL: omitnull.From(""), + Name: omit.From(fmt.Sprintf("%s's organization", username)), } o, err := models.Organizations.Insert(&o_setter).One(ctx, db.PGInstance.BobDB) if err != nil {