TAG SEARCH
#運用
D1 Migrations Can't Go Back: A Rollback Strategy for Forward-Only Schemas
Cloudflare D1 has no down migrations. How to change schemas safely anyway: pre-written rollback SQL, idempotent backfills, the DROP COLUMN trigger trap, and dual-schema application code.
Preventing "Deploy Succeeded but Nothing Changed" on Cloudflare Workers
How Workers gradual deployments can leave an old version serving traffic after a successful wrangler deploy, and how to build a deploy script that verifies 100% activation before exiting.