Class Configuration

Doctrine\DBAL\Migrations\Configuration\Configuration
Extended by Concrete\Core\Updater\Migrations\Configuration

Methods summary

public
# __construct( boolean $registerMigrations = true )

Construct a migration configuration object.

public
# registerPreviousMigratedVersions( )

This is a stupid requirement, but basically, we grab the lowest version number in our system database migrations table, and we loop through all migrations in our file system and for any of those LOWER than the lowest one in the table, we can assume they are included in this migration. We then manually insert these rows into the SystemDatabaseMigrations table so Doctrine isn't stupid and attempt to apply them.