laravel-db-sync
laravel-db-sync copied to clipboard
Sync a remote DB to a local DB
Allow Users to Set Environment Variables for the command to work
It didn't work — my local database was left unmodified. Here's the console output: ``` $ php artisan db:production-sync mysqldump: [Warning] Using a password on the command line interface can...
Hi guys, LOCAL_TARGET_CONNECTION just take the target connection name but it does not work.
The unused $targetConnection is made dynamic. If you need to LOCAL_TARGET_CONNECTION, you can give the target connection another hand the connection is made default connection instead of just "mysql" connection.