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'
        ));
