more translations fixed
This commit is contained in:
parent
c886d5f28e
commit
d3eb37ebff
15 changed files with 170 additions and 155 deletions
10
upgrade.sh
10
upgrade.sh
|
@ -1,22 +1,22 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Setze das Arbeitsverzeichnis auf das Projektverzeichnis
|
||||
# Set the working directory to the project directory
|
||||
cd "$(dirname "$0")/steam-gift-manager"
|
||||
|
||||
# Setze FLASK_APP, falls nötig
|
||||
export FLASK_APP=app.py
|
||||
|
||||
# Initialisiere migrations, falls noch nicht vorhanden
|
||||
# Initialize migrations, if not yet available
|
||||
if [ ! -d migrations ]; then
|
||||
echo "Starting Flask-Migrate..."
|
||||
docker-compose exec steam-manager flask db init
|
||||
fi
|
||||
|
||||
# Erzeuge Migration (nur wenn sich Modelle geändert haben)
|
||||
# Create migration (only if models have changed)
|
||||
docker-compose exec steam-manager flask db migrate -m "Automatic Migration"
|
||||
|
||||
# Wende Migration an
|
||||
# Apply migration
|
||||
docker-compose exec steam-manager flask db upgrade
|
||||
|
||||
echo "✅ Database-Migration abgeschlossen!"
|
||||
echo "✅ Database migration completed!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue