Files
rdp-proxy/backend/migrations/000031_fabric_vpn_node_roles.up.sql
T

29 lines
845 B
SQL

ALTER TABLE node_role_assignments
DROP CONSTRAINT IF EXISTS node_role_assignments_role_check;
ALTER TABLE node_role_assignments
ADD CONSTRAINT node_role_assignments_role_check
CHECK (role IN (
'public-ingress',
'admin-ingress',
'global-admin-runtime',
'cluster-admin-runtime',
'organization-portal-runtime',
'user-portal-runtime',
'identity-runtime',
'policy-authority',
'audit-sink',
'entry-node',
'relay-node',
'core-mesh',
'rdp-worker',
'vnc-worker',
'vpn-exit',
'vpn-connector',
'vpn-client',
'ipv4-egress',
'file-storage-cache',
'update-cache',
'video-relay'
));