safe-migrate 0.4.3

Analyze PostgreSQL migrations for schema and locking risks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -eu

repository_root=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)
cd "$repository_root"

if [ -z "${DATABASE_URL:-}" ]; then
    printf '%s\n' "DATABASE_URL is required for the live auto-sync contract." >&2
    exit 2
fi

cargo test --locked --test live_auto_sync \
    live_auto_sync_refreshes_lint_and_lint_chain -- --ignored --nocapture