Skip to content

Commit

Permalink
fix docker migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 22, 2024
1 parent 62f7449 commit beaf3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ nodaemon=true

[program:migrate]
command=/bin/sh -c '
php artisan passport:install;
if [ ! -s ${DB_DATABASE} ];
then
php artisan passport:install;
php artisan migrate --seed --force;
else
php artisan migrate --force;
Expand Down

0 comments on commit beaf3c9

Please sign in to comment.