Files
grafana/pkg/registry/apis/iam/legacy/testdata/mysql--teams_query-teams_uid.sql
Mihai Doarna 9d9dca3208 IAM: Adds the team creation endpoint in app platform (#111003)
* implement team creation for legacy store

* add generated code

* add basic integration test

* add new fields to get and list teams

* fix sql tests for teams

* register dual writer for team resource

* add generated code

* add more sql tests for team creation

* address feedback

* add integration tests
2025-09-18 14:43:07 +03:00

7 lines
163 B
SQL
Executable File

SELECT id, uid, name, email, external_uid, is_provisioned, created, updated
FROM `grafana`.`team`
WHERE org_id = 0
AND uid = 'abc'
ORDER BY id asc
LIMIT 1