Skip to content

Commit

Permalink
Merge pull request #590 from dbarzin/dev
Browse files Browse the repository at this point in the history
fix test in docker entrypoint
  • Loading branch information
dbarzin authored Jan 22, 2024
2 parents 010ef68 + 348d0d0 commit abb29ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd /var/www/mercator
_wait_for_mysql_ready

# initialisation de la base de données si elle n'existe pas
if [ -f "./sql/db.sqlite" ] && [ -s "./sql/db.sqlite" ]
if [ ! -s ./sql/db.sqlite ]
then
php artisan --no-interaction migrate --seed
fi
Expand Down

0 comments on commit abb29ed

Please sign in to comment.