app/scripts/reset_test_db.sh
Carlos Quintana 20056a1ae0
feat: use rye as project manager (#2359)
* feat: use rye as project manager

* chore: change poetry to rye for scripts

* ci: avoid duplicate executions

* Remove unused check and rename check

* removed unused parallel tasks

* Remove strategy altogether

---------

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2025-01-16 14:07:55 +01:00

6 lines
180 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
rye run alembic upgrade head