Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove --column-statistics for MariaDB schema dump
When `php artisan schema:dump` is run with a MariaDB connection, the warning message `mysqldump: unknown variable 'column-statistics=0'` appears, but the dump is otherwise successful. This is because the `--column-statistics` flag is MySQL specific, and does not exist in MariaDB's version of `mysqldump`. Let's remove the `--column-statistics` flag from the `schema:dump` command when it is run against a MariaDB connection. There should be no issues with removing the flag in MariaDB as the flag has no effect otherwise and `schema:dump` still functions correctly with MariaDB even with the flag removed.
- Loading branch information