{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO user_oauth_tokens (\n            project_id, extension, session_id,\n            access_token_encrypted, refresh_token_encrypted, id_token_encrypted,\n            expires_at, last_refreshed_at, last_accessed_at\n        )\n        VALUES ($1, $2, $3, $4, $5, $6, $7, NOW(), NOW())\n        ON CONFLICT (project_id, extension, session_id)\n        DO UPDATE SET\n            access_token_encrypted = EXCLUDED.access_token_encrypted,\n            refresh_token_encrypted = EXCLUDED.refresh_token_encrypted,\n            id_token_encrypted = EXCLUDED.id_token_encrypted,\n            expires_at = EXCLUDED.expires_at,\n            last_refreshed_at = NOW(),\n            last_accessed_at = NOW(),\n            updated_at = NOW()\n        RETURNING id, project_id, extension, session_id,\n                  access_token_encrypted, refresh_token_encrypted, id_token_encrypted,\n                  expires_at, last_refreshed_at, last_accessed_at,\n                  created_at, updated_at\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "project_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "extension",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "session_id",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "access_token_encrypted",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "refresh_token_encrypted",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "id_token_encrypted",
        "type_info": "Text"
      },
      {
        "ordinal": 7,
        "name": "expires_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "last_refreshed_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 9,
        "name": "last_accessed_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 10,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 11,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Varchar",
        "Varchar",
        "Text",
        "Text",
        "Text",
        "Timestamptz"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      true,
      true,
      false,
      false,
      false
    ]
  },
  "hash": "c20fc824031eca2d421bf35e98c7db36fa0412e0f2ac4f5933772015378950a9"
}
