{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO deployment_env_vars (deployment_id, key, value, is_secret, is_protected, source)\n        VALUES ($1, $2, $3, $4, $5, $6)\n        ON CONFLICT (deployment_id, key)\n        DO UPDATE SET\n            value = EXCLUDED.value,\n            is_secret = EXCLUDED.is_secret,\n            is_protected = EXCLUDED.is_protected,\n            source = EXCLUDED.source,\n            updated_at = NOW()\n        RETURNING id, deployment_id, key, value, is_secret, is_protected, source, created_at, updated_at\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "deployment_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "key",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "value",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "is_secret",
        "type_info": "Bool"
      },
      {
        "ordinal": 5,
        "name": "is_protected",
        "type_info": "Bool"
      },
      {
        "ordinal": 6,
        "name": "source",
        "type_info": "Text"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Text",
        "Bool",
        "Bool",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "2f561c17de4023a17d92994113d295892b954f38f11e7710aa24496dc7ad24bc"
}
