* implement team update in legacy store * add unit tests * add integration test * set permissions for user in integration tests * add more integration tests for update * update validations * add unit tests for ValidateOnUpdate() func * fix integration test
8 lines
293 B
SQL
8 lines
293 B
SQL
UPDATE {{ .Ident .TeamTable }}
|
|
SET name = {{ .Arg .Command.Name }},
|
|
updated = {{ .Arg .Command.Updated }},
|
|
email = {{ .Arg .Command.Email }},
|
|
is_provisioned = {{ .Arg .Command.IsProvisioned }},
|
|
external_uid = {{ .Arg .Command.ExternalUID }}
|
|
WHERE uid = {{ .Arg .Command.UID }}
|