{
  "db_name": "PostgreSQL",
  "query": "UPDATE workspace_settings\n           SET ducklake = jsonb_set(ducklake, '{ducklakes}', (\n               SELECT COALESCE(jsonb_object_agg(key, value - 'fork_behavior'), '{}'::jsonb)\n               FROM jsonb_each(ducklake->'ducklakes')\n           ))\n           WHERE workspace_id = $1 AND jsonb_typeof(ducklake->'ducklakes') = 'object'",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": []
  },
  "hash": "d1142126245cdaf5d01dc67ab2488958b335f6a24d1e93641eab6aaac86301f7"
}
