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 cache-encryption contract." >&2
    exit 2
fi

cargo test --locked --test live_cache_encryption \
    live_encrypted_cache_round_trip_and_rejection_contract -- --ignored --nocapture