refactor(org): rename the default org to org-sys
This commit is contained in:
1 parent
64445e0b2b
commit
78aff5ad17
11 files changed
+339
-37
No files matched your search
@@ -229,7 +229,7 @@ SELECT COALESCE(
|
||||
(SELECT a.org_id FROM org_agents a WHERE a.identity_id = $1),
|
||||
(SELECT m.org_id FROM memberships m WHERE m.identity_id = $1
|
||||
ORDER BY m.created_at, m.org_id, m.workspace_id NULLS LAST LIMIT 1),
|
||||
'default'
|
||||
'org-sys'
|
||||
)::text AS org_id
|
||||
`
|
||||
|
||||
|
||||
Reference in new issue
Block a user