Change DB_DATABASE to DB_NAME

This commit is contained in:
Mohammed Al-Mahdawi 2022-08-04 12:45:50 +03:00
parent 910b415ab5
commit 475ca0b15f
6 changed files with 6 additions and 6 deletions

2
env/run.env.example vendored
View File

@ -7,7 +7,7 @@ DB_HOST=akaunting-db
DB_PORT=3306
# Change these to match env/db.env
DB_DATABASE=akaunting
DB_NAME=akaunting
DB_USERNAME=admin
DB_PASSWORD=akaunting_password

View File

@ -10,7 +10,7 @@ if [ "$AKAUNTING_SETUP" == "true" ]; then
if php artisan install \
--db-host=$DB_HOST \
--db-port=$DB_PORT \
--db-name=$DB_DATABASE \
--db-name=$DB_NAME \
--db-username=$DB_USERNAME \
"--db-password=$DB_PASSWORD" \
--db-prefix=$DB_PREFIX \

View File

@ -31,7 +31,7 @@ if [ "$do_setup" -o "$AKAUNTING_SETUP" == "true" ]; then
if php artisan install \
--db-host=$DB_HOST \
--db-port=$DB_PORT \
--db-name=$DB_DATABASE \
--db-name=$DB_NAME \
--db-username=$DB_USERNAME \
"--db-password=$DB_PASSWORD" \
--db-prefix=$DB_PREFIX \

View File

@ -31,7 +31,7 @@ if [ "$do_setup" -o "$AKAUNTING_SETUP" == "true" ]; then
if php artisan install \
--db-host=$DB_HOST \
--db-port=$DB_PORT \
--db-name=$DB_DATABASE \
--db-name=$DB_NAME \
--db-username=$DB_USERNAME \
"--db-password=$DB_PASSWORD" \
--db-prefix=$DB_PREFIX \

View File

@ -40,7 +40,7 @@ if [ "$do_setup" -o "$AKAUNTING_SETUP" == "true" ]; then
if php artisan install \
--db-host=$DB_HOST \
--db-port=$DB_PORT \
--db-name=$DB_DATABASE \
--db-name=$DB_NAME \
--db-username=$DB_USERNAME \
"--db-password=$DB_PASSWORD" \
--db-prefix=$DB_PREFIX \

View File

@ -33,7 +33,7 @@ if [ "$do_setup" -o "$AKAUNTING_SETUP" == "true" ]; then
if php artisan install \
--db-host=$DB_HOST \
--db-port=$DB_PORT \
--db-name=$DB_DATABASE \
--db-name=$DB_NAME \
--db-username=$DB_USERNAME \
"--db-password=$DB_PASSWORD" \
--db-prefix=$DB_PREFIX \