Files
OHTU-German-learning-website/data/migrate.sh
T
6ded19a4ec axel/setup db n migrations (#29)
* setup db & migrations

* bugfixes

* README updates

* updates to readme

* not tracking .env.dev

* README update

* cleanup

* updated db logic to allow for test db

* remove unnecessary await

---------

Co-authored-by: Jukka Kuusto <38991418+jkuusto@users.noreply.github.com>
2025-01-24 15:09:46 +02:00

9 lines
148 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")"
cd ..
pgmigrate migrate -d postgres://ohtu:password@localhost:6543/gradesa -m data/migrations