{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO deployment_env_vars (deployment_id, key, value, is_secret, is_protected)\n        VALUES ($1, $2, $3, $4, $5)\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            updated_at = NOW()\n        RETURNING id, deployment_id, key, value, is_secret, is_protected, 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": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Text",
        "Bool",
        "Bool"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "291e5107c4a6a8f818bc233f443916898f23599a4d8a8619c4c74bd6bd4be759"
}
