Files
coder/coderd/database/migrations/000086_no_org_admins.up.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
127 B
SQL
Raw Normal View History

UPDATE
organization_members
SET
roles = ARRAY [] :: text[]
WHERE
'organization-admin:'||organization_id = ANY(roles);