SquashedMigrationHelper
class SquashedMigrationHelper
Reads the schema dumps that schema:dump writes for the booted connections.
Methods
Create a new squashed migration helper instance.
Read the schema dumps into the facts of the connections that own them.
Get the schema dumps of the booted connections, which the migration cache fingerprints.
The directories scanned for schema dumps, see DirectoryResolver::resolve().
Details
at line 32
__construct(array $schemaPaths, FileHelper $fileHelper, ConnectionConfigResolver $connectionConfigResolver, bool $disableSchemaScan)
Create a new squashed migration helper instance.
at line 51
array
initializeConnections()
Read the schema dumps into the facts of the connections that own them.
Unlike upstream, which merged every .dump and .sql file it found into one schema, a dump belongs to the connection its name gives, and one that cannot be read leaves its owner's relations unknown.
at line 140
array
getSchemaFiles()
Get the schema dumps of the booted connections, which the migration cache fingerprints.
at line 178
array
getSchemaDirectories()
The directories scanned for schema dumps, see DirectoryResolver::resolve().