mirror of
https://github.com/sstent/GarminSync.git
synced 2026-02-13 19:05:59 +00:00
checkpoint 1
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
# Run database migrations
|
||||
echo "Running database migrations..."
|
||||
export ALEMBIC_CONFIG=./migrations/alembic.ini
|
||||
export ALEMBIC_SCRIPT_LOCATION=./migrations/versions
|
||||
export ALEMBIC_CONFIG=${ALEMBIC_CONFIG:-./migrations/alembic.ini}
|
||||
export ALEMBIC_SCRIPT_LOCATION=${ALEMBIC_SCRIPT_LOCATION:-./migrations/versions}
|
||||
alembic upgrade head
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Migration failed!" >&2
|
||||
|
||||
Reference in New Issue
Block a user