mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
* chore: typed database custom permissions * add migration to fix any custom roles out there
5 lines
273 B
SQL
5 lines
273 B
SQL
-- Previous custom roles are now invalid, as the json changed. Since this is an
|
|
-- experimental feature, there is no point in trying to save the perms.
|
|
-- This does not elevate any permissions, so it is not a security issue.
|
|
UPDATE custom_roles SET org_permissions = '[]';
|