🗄️ Database Administration — Database Migration Toolkit Demo

← Back to Store

Database Migration Toolkit

A dependency-free, **runnable** toolkit for changing database schemas the safe way: versioned up/down migrations, a tiny SQL runner you can actually read, and the expand/contract patterns that let you

Product Content

Browse the actual product documentation and code examples included in this toolkit.

Key features of Database Migration Toolkit

Code
• `runner/migrate.py` — a ~480-line, stdlib-only migration runner: ordered
• Drives 3 engines through one thin seam: SQLite with zero setup (default), plus
• A proven expand/contract example — four bundled migrations that split a `full_name`
• Production PostgreSQL DDL — the same change with `CREATE INDEX CONCURRENTLY`-class
• A reusable batched-backfill template (PostgreSQL + MySQL) using keyset pagination.
• Six field guides covering versioning, zero-downtime expand/contract, online schema

`runner/migrate.py` — a ~480-line, stdlib-only migration runner: ordered

Drives 3 engines through one thin seam: SQLite with zero setup (default), plus

A proven expand/contract example — four bundled migrations that split a `full_name`

Production PostgreSQL DDL — the same change with `CREATE INDEX CONCURRENTLY`-class

A reusable batched-backfill template (PostgreSQL + MySQL) using keyset pagination.

Six field guides covering versioning, zero-downtime expand/contract, online schema

Interactive Preview

Configure Database Migration Toolkit parameters to see how the product works.

Generated Configuration
Configure parameters and click Run Preview.
Quick Start:
# 1. See what's pending (nothing applied yet)
python3 runner/migrate.py status

# 2. Apply all four migrations to a throwaway SQLite database
python3 runner/migrate.py up

# 3. Confirm and check for drift
python3 runner/migrate.py status
python3 runner/migrate.py validate
Key Features:
  • `runner/migrate.py` — a ~480-line, stdlib-only migration runner: ordered
  • Drives 3 engines through one thin seam: SQLite with zero setup (default), plus
  • A proven expand/contract example — four bundled migrations that split a `full_name`
  • Production PostgreSQL DDL — the same change with `CREATE INDEX CONCURRENTLY`-class
  • A reusable batched-backfill template (PostgreSQL + MySQL) using keyset pagination.

Get the Full Database Migration Toolkit

This demo shows a preview. The full version includes complete source code, documentation, and lifetime updates.

Buy Full Version — $24.00