mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow setting port share protocol (#12383)
Co-authored-by: Garrett Delfosse <garrett@coder.com>
This commit is contained in:
co-authored by
Garrett Delfosse
parent
23ff807a27
commit
46a2ff1061
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE workspace_agent_port_share DROP COLUMN protocol;
|
||||
|
||||
DROP TYPE port_share_protocol;
|
||||
@@ -0,0 +1,4 @@
|
||||
CREATE TYPE port_share_protocol AS ENUM ('http', 'https');
|
||||
|
||||
ALTER TABLE workspace_agent_port_share
|
||||
ADD COLUMN protocol port_share_protocol NOT NULL DEFAULT 'http'::port_share_protocol;
|
||||
Reference in New Issue
Block a user