Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit f751ab5

Browse files
jaytaphfabpot
authored andcommitted
Updated generateSql tool
1 parent 334fbcf commit f751ab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Acl/Resources/bin/generateSql.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
'Symfony' => __DIR__.'/../../../../../..',
2121
'Doctrine\\Common' => __DIR__.'/../../../../../../../vendor/doctrine-common/lib',
2222
'Doctrine\\DBAL\\Migrations' => __DIR__.'/../../../../../../../vendor/doctrine-migrations/lib',
23-
'Doctrine\\DBAL' => __DIR__.'/../../../../../../../vendor/doctrine-dbal/lib',
23+
'Doctrine\\DBAL' => __DIR__.'/../../../../../../../vendor/doctrine/dbal/lib',
2424
'Doctrine' => __DIR__.'/../../../../../../../vendor/doctrine/lib',
2525
));
2626
$loader->register();
@@ -46,6 +46,6 @@
4646
}
4747

4848
$platform = $reflection->newInstance();
49-
$targetFile = sprintf(__DIR__.'/../schema/%s.sql', $platform->name);
49+
$targetFile = sprintf(__DIR__.'/../schema/%s.sql', $platform->getName());
5050
file_put_contents($targetFile, implode("\n\n", $schema->toSql($platform)));
5151
}

0 commit comments

Comments
 (0)