Open manu144x opened 1 year ago
I should also mention this is how my config looks like:
protected function databaseInit(DatabaseDefinition $database): void
{
// The default one needs to be fully managed here too, it will not use the config
$database->connection('mysql')
->initialImports([
'mysql' => ['database/schema/mysql-schema.dump'], //the normal migration will not recognize the squashed migrations in the schema
])
->migrations('database/migrations')
->seeders(['DatabaseSeeder'])
->isNotABrowserTest()
->transaction()
->noJournal()
->snapshots('afterSeeders')
->makeDefault();
$this->prepareConnection('mysql_reporting')
->initialImports([
'mysql' => ['database/schema/mysql_reporting-schema.dump'],
])->migrations('database/migrations/mysql_reporting')
->seeders(['CreateMysqlReportingFederatedConnectionSeeder'])
->isNotABrowserTest()
->transaction()
->noJournal()
->snapshots('afterSeeders');
}
Description:
When running the command
Logs: