app/scripts/reset_test_db.sh
2025-01-20 17:12:12 +01:00

6 lines
179 B
Bash
Executable file

#!/bin/sh
export DB_URI=postgresql://myuser:mypassword@localhost:15432/test
echo 'drop schema public cascade; create schema public;' | psql $DB_URI
uv run alembic upgrade head