diff --git a/setup/functions.sh b/setup/functions.sh index e9fbd86..a61338d 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -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 '' }