1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

фикс авторизации112

This commit is contained in:
MoonTestUse1
2025-01-03 23:11:47 +06:00
parent f68e46581b
commit 9ed1b6fd55
2 changed files with 13 additions and 8 deletions

View File

@@ -17,7 +17,13 @@ echo "Applying database migrations..."
cd /app
alembic upgrade head
echo "Migrations completed!"
# Проверяем, что миграции применились успешно
if [ $? -eq 0 ]; then
echo "Migrations completed successfully!"
else
echo "Error applying migrations!"
exit 1
fi
# Запускаем приложение
echo "Starting application..."