Загрузка данных


UPDATE config_profiles 
SET config = jsonb_set(
    config, 
    '{inbounds,0,settings,clients}', 
    '[{"id": "5cc245d2-a28c-b860-8000-000000000001", "flow": "xtls-rprx-vision", "fingerprint": "firefox", "email": "test@example.com"}]'
)
WHERE name = 'StealConfig';


SELECT config->'inbounds'->0->'settings'->'clients' FROM config_profiles WHERE name = 'StealConfig';