Skip to content

Commit

Permalink
fix migration in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 22, 2024
1 parent abca1c7 commit 1d107a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ command=/bin/sh -c '
touch ${DB_DATABASE} && chmod a+x ${DB_DATABASE} &&
(php artisan migrate --force || true) &&
(php artisan db:seed --force && php artisan passport:install || true);
else
(php artisan migrate --force || true);
fi;
touch /tmp/migrated'
autorestart=false
Expand Down

0 comments on commit 1d107a7

Please sign in to comment.