mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: tokens (#4380)
This commit is contained in:
2
coderd/database/migrations/000057_api_key_token.down.sql
Normal file
2
coderd/database/migrations/000057_api_key_token.down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- You cannot safely remove values from enums https://www.postgresql.org/docs/current/datatype-enum.html
|
||||
-- You cannot create a new type and do a rename because objects depend on this type now.
|
1
coderd/database/migrations/000057_api_key_token.up.sql
Normal file
1
coderd/database/migrations/000057_api_key_token.up.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TYPE login_type ADD VALUE IF NOT EXISTS 'token';
|
Reference in New Issue
Block a user