class
Illuminate
/
Database
/
Schema
/
MySqlSchemaState
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
MySqlSchemaState
Extends
Methods
public
dump ( Connection $connection , $path ) : void
Dump the database's schema into a file.
Parameters
- $connection Connection
- $path string
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