Files
coder/coderd/database/migrations/000199_port_share_protocol.up.sql
Dean Sheather 46a2ff1061 feat: allow setting port share protocol (#12383)
Co-authored-by: Garrett Delfosse <garrett@coder.com>
2024-03-06 09:23:57 -05:00

5 lines
186 B
SQL

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;