private function isBasicDataMigration(string
$className): bool
{ return $className === Migration1536233560BasicData::
class;
} private function collectMigrations(): MigrationCollection
{ return $this->
getContainer() ->
get(MigrationCollectionLoader::
class) ->
collectAllForVersion( $this->
getContainer()->
getParameter('kernel.shopware_version'
),
MigrationCollectionLoader::VERSION_SELECTION_ALL
);
} private function setupDB(Connection
$orgConnection): Connection
{ // Be sure that we are on the no migrations db
static::
assertStringContainsString('_no_migrations',
$this->databaseName, 'Wrong DB ' .
$this->databaseName
);
$orgConnection->
executeStatement('DROP DATABASE IF EXISTS `' .
$this->databaseName . '`'
);