Skip to content

Commit

Permalink
fix: change migrate command for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Nov 16, 2024
1 parent 6056885 commit b652aeb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ build_admin() {
composer $COMPOSER_COMMAND
fi

echo ' ∟ Migrating database...'
php artisan migrate
if [ "$ENV" = "dev" ]; then
echo ' ∟ Migrating database...'
php artisan migrate
fi

echo ''
}
Expand Down

0 comments on commit b652aeb

Please # to comment.