2022-05-10 23:34:57 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
export DB_URI=postgresql://myuser:mypassword@localhost:15432/test
|
2022-07-04 16:01:04 +02:00
|
|
|
echo 'drop schema public cascade; create schema public;' | psql $DB_URI
|
2022-05-10 23:34:57 +02:00
|
|
|
|
|
|
|
poetry run alembic upgrade head
|