class Illuminate / Database / Schema / MySqlSchemaState
You are viewing an older version of the documentation. For the latest, please visit master documentation.

MySqlSchemaState

Extends

Methods

public

dump ( Connection $connection , $path ) : void

Dump the database's schema into a file.

Parameters

protected

removeAutoIncrementingState ( string $path ) : void

Remove the auto-incrementing state from the given schema dump.

Parameters

  • $path string
protected

appendMigrationData ( string $path ) : void

Append the migration data to the schema dump.

Parameters

  • $path string
public

load ( $path ) : void

Load the given schema file into the database.

Parameters

  • $path string
protected

baseDumpCommand ( ) : string

Get the base dump command arguments for MySQL as a string.

protected

connectionString ( ) : string

Generate a basic connection string (--socket, --host, --port, --user, --password) for the database.

protected

baseVariables ( array $config ) : array

Get the base variables for a dump / load command.

Parameters

  • $config array
protected

executeDumpProcess ( Symfony\...\Process $process , $output , array $variables ) : Symfony\...\Process

Execute the given dump process.

Parameters

  • $process Symfony\...\Process
  • $output callable
  • $variables array