mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
7 lines
170 B
SQL
7 lines
170 B
SQL
-- Avoid "upgrading" devurl keys to fully fledged API keys.
|
|
DELETE FROM api_keys WHERE scope != 'all';
|
|
|
|
ALTER TABLE api_keys DROP COLUMN scope;
|
|
|
|
DROP TYPE api_key_scope;
|