MariaDbSchemaState.php 485 B

123456789101112131415161718
  1. <?php
  2. namespace Illuminate\Database\Schema;
  3. class MariaDbSchemaState extends MySqlSchemaState
  4. {
  5. /**
  6. * Get the base dump command arguments for MariaDB as a string.
  7. *
  8. * @return string
  9. */
  10. protected function baseDumpCommand()
  11. {
  12. $command = 'mysqldump '.$this->connectionString().' --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc --column-statistics=0';
  13. return $command.' "${:LARAVEL_LOAD_DATABASE}"';
  14. }
  15. }