compose
This commit is contained in:
7
scripts/cleandb.sh
Executable file
7
scripts/cleandb.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
echo "[1/2] MYSQL"
|
||||
docker exec ai-chat-mysql mysql -uroot -proot -D ai_chat -e "TRUNCATE TABLE chat_records;"
|
||||
|
||||
echo "[2/2] PG"
|
||||
docker exec ai-chat-pgvector psql -U postgres -d ai_chat -c "TRUNCATE TABLE chat_record_vectors;"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user