{ "db_name": "PostgreSQL", "query": "\n INSERT INTO runtime_configs (role_id, config_json, version, is_active)\n VALUES (\n $1,\n $2,\n COALESCE((SELECT MAX(version) FROM runtime_configs WHERE role_id = $1), 0) + 1,\n true\n )\n ", "describe": { "columns": [], "parameters": { "Left": [ "Uuid", "Jsonb" ] }, "nullable": [] }, "hash": "7c4e8ccd8eca0c550c8c26332b8cfa9d44602b114a97289186c7e902c1e8a4e7" }