Skip to content

Conversation

@lordofthebrain
Copy link

I would be very happy if migrate:fresh don't run silent by default.
Silent is still possible with the silent option

@stancl
Copy link
Member

stancl commented Jun 27, 2025

Would need more info here

@lordofthebrain
Copy link
Author

With callSilent I have this output:
callSilent

With call I can see every single migration and the duration: (I have blacked out names):
call

Note: php artisan tenants:migrate don't run silent by default.

@stancl
Copy link
Member

stancl commented Jun 30, 2025

The output is simplified when using migrate-fresh because it'd be too much output (compared to running regular migrations) and that output would be the exact same for all tenants. I'm probably fine with using call() instead of callSilent() when a higher verbosity level is used.

@lordofthebrain
Copy link
Author

Good point with the output:
I adjusted the code.
Now php artisan tenants:migrate-fresh runs silent as before
php artisan tenants:migrate-fresh -v shows all output

@lordofthebrain lordofthebrain changed the title don't run migrate-fresh silent by default migrate-fresh can show output with verbose Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants