mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: change sql parameter for custom roles to be a (name,org_id)
tuple (#13480)
* chore: sql parameter to custom roles to be a (name,org) tuple CustomRole lookup takes (name,org_id) tuples as the search criteria.
This commit is contained in:
@ -28,6 +28,7 @@ func Open() (string, func(), error) {
|
||||
if err != nil {
|
||||
return "", nil, xerrors.Errorf("connect to ci postgres: %w", err)
|
||||
}
|
||||
|
||||
defer db.Close()
|
||||
|
||||
dbName, err := cryptorand.StringCharset(cryptorand.Lower, 10)
|
||||
|
Reference in New Issue
Block a user