We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e1aefc commit b936781Copy full SHA for b936781
tests/integration/bootstrap.php
@@ -21,7 +21,8 @@
21
$application = new Application($kernel);
22
$application->setAutoExit(false);
23
24
-if (getenv('DATABASE_URL') !== false && 'sqlite' !== substr(getenv('DATABASE_URL'), 0, 6)) {
+$databaseUrl = getenv('DATABASE_URL');
25
+if ($databaseUrl !== false && str_starts_with($databaseUrl, 'sqlite')) {
26
$application->run(new ArrayInput([
27
'command' => 'doctrine:database:drop',
28
'--if-exists' => '1',
0 commit comments