We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protected function createDatabaseIfNotExists(): void { $params = $this->connection->getParams(); // doctrine-bundle >= 2.2 if (isset($params['primary'])) { $params = $params['primary']; } // doctrine-bundle < 2.2 elseif (isset($params['master'])) { $params = $params['master']; } $dbName = $params['dbname'] ?? ''; unset($params['dbname'], $params['url']); // Unset url to avoid issue: // “An exception occurred in driver: SQLSTATE[HY000] [1049] Unknown database 'test'” $tmpConnection = DriverManager::getConnection($params, <- here needed to inject configuration with defined schema manager);
Just start use library
No deprecations
Has deprecations
The text was updated successfully, but these errors were encountered:
Thanks for the report, what is %s in this context? Do you have more information about this deprecation?
%s
Sorry, something went wrong.
No branches or pull requests
Preconditions
Steps to reproduce
Just start use library
Expected result
No deprecations
Actual result
Has deprecations
The text was updated successfully, but these errors were encountered: