command
ridu migrate up
ridu migrate up
[--database-url <url> | --database-path <path>]
[adapter runner options]Validate complete history and apply pending artifacts under adapter-owned coordination.
PostgreSQL requires secure transport unless explicitly admitted, holds a session advisory lock, and resumes durable phased checkpoints. SQLite applies every pending artifact atomically under one BEGIN IMMEDIATE writer reservation. MongoDB requires verified TLS unless explicitly admitted for local development, holds a fenced expiring lease, and resumes checksum-bound durable steps.
Example
DATABASE_URL="$MONGODB_MIGRATION_URL" ridu migrate plan --json
# Drain every old application process, worker, and other writer.
DATABASE_URL="$MONGODB_OPERATIONAL_URL" ridu migrate verify
# Capture the matched database/upload snapshot.
DATABASE_URL="$MONGODB_MIGRATION_URL" ridu migrate up
DATABASE_URL="$MONGODB_MIGRATION_URL" ridu migrate status
# Start only the new digest; require /readyz before admitting traffic.
DATABASE_URL="$MONGODB_APP_URL" ./dist/content