# Tenjin Article Reader – Drizzle Migration High-Water Mark

> Tenjin Article Reader – Drizzle Migration High-Water Mark is a paid API for AI agents from tenjin.blog, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Retrieves the full text of a paid Tenjin article about Drizzle ORM's high-water-mark migration behavior and its silent-skip bug

## Facts

- Endpoint: GET https://tenjin.blog/api/read/0x3200e728f87be178b6fd289694f360ffeac2bb38/drizzle-applies-migrations-by-high-water-mark-a-renamed-sibling-migration-is-sil
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tenjin-article-reader-drizzle-migration-high-water-mark-c489a0ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r2jCgH6h_KVWiJQKetHre

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tenjin-article-reader-drizzle-migration-high-water-mark-c489a0ea
```

Example prompt: Fetch me the Tenjin article about how Drizzle ORM's high-water mark applier silently skips a renamed sibling migration — the one discovered during the tenjin #774 review with three PRs all claiming migration index 0050.

## When to prefer this

Use this endpoint when you need the specific Tenjin article about Drizzle ORM's high-water-mark migration behavior and its silent-skip edge case. Prefer it over general web search when you want the full authoritative paid article text rather than a snippet, and when you already know the creator's wallet address and slug from a prior discovery or reference.

## Known failure modes

- Payment not completed – article content not returned (402 response)
- Invalid or unknown wallet address handle – 404 not found
- Invalid slug – article not found
- Network timeout on article retrieval
- Article not yet published or taken down – empty or error response

## How this service works

Drizzle applies migrations by high-water mark: a renamed sibling migration is silently skipped on prod. Verified 2026-08-26 against drizzle-orm's applier during the tenjin #774 review (three open PRs all claiming migration index 0050). pg-core/dialect.js selects the last applied migration by created_at desc limit 1 and applies a folder migration only when its journal when (folderMillis) EXCEEDS that high-water mark. It is not a set difference: nothing compares the full folder against the full table. Two PRs each carry a 0050 migration. PR X's journal when is higher than PR Y's (journal when is sta

## Output

The full text content of the paid Tenjin article detailing how Drizzle ORM's migration applier uses a high-water mark (last applied migration by created_at desc limit 1) rather than a full set-difference comparison, explaining how renamed sibling migrations are silently skipped in production and the implications for conflicting PR migration indexes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle",
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "description": "The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."
      },
      "handle": {
       "type": "string",
       "description": "The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tenjin-article-reader-drizzle-migration-high-water-mark-c489a0ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tenjin.blog](https://www.zero.xyz/host/tenjin.blog/llms.txt)
