Sebobo / Shel.Neos.WorkspaceModule

A workspace module alternative for Neos CMS
MIT License
17 stars 5 forks source link

BUG: Error when running migration on MySQL #12

Closed crydotsnake closed 2 years ago

crydotsnake commented 2 years ago

I use MySQL for my local database. And when running the migration i get the following error message:

Packages/Plugins/Shel.Neos.WorkspaceModule/Migrations/Mysql/Version20220426091118.php: Migration can only be executed safely on '\Doctrine\DBAL\Platforms\MariaDb1027Platform'.

19 Doctrine\Migrations\AbstractMigration::abortIf(true, "Migration can only be executed safely on '\Doctrine\DBAL\Platforms\MariaDb1027Platform'.")
18 Neos\Flow\Persistence\Doctrine\Migrations\Version20220426091118::up(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generated0e88da61ef53e35256c1c89a3ab6954e)
17 Doctrine\Migrations\Version\DbalExecutor::executeMigration(Doctrine\Migrations\Metadata\MigrationPlan, Doctrine\Migrations\Version\ExecutionResult, Doctrine\Migrations\MigratorConfiguration)
16 Doctrine\Migrations\Version\DbalExecutor::execute(Doctrine\Migrations\Metadata\MigrationPlan, Doctrine\Migrations\MigratorConfiguration)
15 Doctrine\Migrations\DbalMigrator::executePlan(Doctrine\Migrations\Metadata\MigrationPlanList, Doctrine\Migrations\MigratorConfiguration)
14 Doctrine\Migrations\DbalMigrator::executeMigrations(Doctrine\Migrations\Metadata\MigrationPlanList, Doctrine\Migrations\MigratorConfiguration)
13 Doctrine\Migrations\DbalMigrator::migrate(Doctrine\Migrations\Metadata\MigrationPlanList, Doctrine\Migrations\MigratorConfiguration)
12 Neos\Flow\Persistence\Doctrine\Service_Original::executeMigrations("latest", NULL, false, false)
11 Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy::__call("executeMigrations", array|4|)
10 Neos\Flow\Command\DoctrineCommandController_Original::migrateCommand("latest", NULL, false, false)
9 Neos\Flow\Cli\CommandController_Original::callCommandMethod()
8 Neos\Flow\Cli\CommandController_Original::processRequest(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
7 Neos\Flow\Cli\Dispatcher_Original::dispatch(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
6 Neos\Flow\Cli\CommandRequestHandler::Neos\Flow\Cli\{closure}()
5 Closure::__invoke()
4 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks(Closure)
3 Neos\Flow\Cli\CommandRequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/Packages/Framework/Neos.Flow/Scripts/flow.php")