migrations
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
2025-09-05 15:10:42 +09:00
parent a0cbdd5358
commit 7254175cdb

View File

@@ -1,6 +1,16 @@
#!/bin/bash
set -e
echo "[update.sh] Проверка bot.db..."
if [ -d "bot.db" ]; then
echo "Удаляю папку bot.db..."
rm -rf bot.db
fi
if [ ! -f "bot.db" ]; then
echo "Создаю пустой файл bot.db..."
touch bot.db
fi
echo "[update.sh] Получение свежего кода..."
git pull