remove models update from migrations (#80)

* add bot models update script

* add last question at field

* update README.md
This commit is contained in:
Dmitry Afanasyev
2024-01-08 21:33:35 +03:00
committed by GitHub
parent 7cbe7b7c50
commit 28895f3510
16 changed files with 191 additions and 145 deletions

View File

@@ -4,9 +4,7 @@ set -e
if [ -f shared/${DB_NAME:-chatgpt.db} ]
then
alembic downgrade -1 && alembic upgrade "head"
else
alembic upgrade "head"
python3 core/bot/managment/update_gpt_models.py
fi
echo "starting the bot"