add question count table (#73)

* update admin url

* update log level

* add user question count table

* rename ChatGpt to ChatGptModels

* change user to root in ci tests

* add chatgpt_shared volume
This commit is contained in:
Dmitry Afanasyev
2023-12-28 14:26:29 +03:00
committed by GitHub
parent f17a0a72e4
commit d1ae7f2281
16 changed files with 106 additions and 50 deletions

View File

@@ -2,7 +2,12 @@
set -e
alembic upgrade "head"
if [ -f shared/${DB_NAME:-chatgpt.db} ]
then
alembic downgrade -1 && alembic upgrade "head"
else
alembic upgrade "head"
fi
echo "starting the bot"