mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2026-02-03 11:40:39 +03:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user