From 3eae0b64c768a501c8ce4a51689abb8105854a90 Mon Sep 17 00:00:00 2001 From: Elad Bar Date: Fri, 5 Nov 2021 10:32:45 +0000 Subject: [PATCH] Fix wrong SQL exeuction on startup --- Docker/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/init.sh b/Docker/init.sh index 31a18864..64b6c1db 100644 --- a/Docker/init.sh +++ b/Docker/init.sh @@ -69,7 +69,7 @@ if [ "$DB_DISABLE_INCLUDED" = "false" ]; then else echo "Create database schema if it does not exists ..." - mysql -u "$DB_USER" -h "$DB_HOST" -p"$DB_PASSWORD" --port="$DB_PORT" --database="$DB_DATABASE" -e "source /home/Shinobi/sql/framework.sql" || true + mysql -u "$DB_USER" -h "$DB_HOST" -p"$DB_PASSWORD" --port="$DB_PORT" --database="$DB_DATABASE" -e "source /home/Shinobi/sql/framework1.sql" || true fi DATABASE_CONFIG='{"host": "'$DB_HOST'","user": "'$DB_USER'","password": "'$DB_PASSWORD'","database": "'$DB_DATABASE'","port":'$DB_PORT'}'