1
0
mirror of synced 2024-12-05 03:06:05 +03:00

[2.0] Fixing cli-config

This commit is contained in:
jwage 2009-10-07 04:07:54 +00:00
parent 165abc3ca4
commit 60f00b8863

View File

@ -23,10 +23,8 @@ $config = new \Doctrine\ORM\Configuration();
$config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ArrayCache);
$connectionOptions = array(
'driver' => 'pdo_mysql',
'user' => 'root',
'password' => '',
'dbname' => 'doctrine2'
'driver' => 'pdo_sqlite',
'path' => 'database.sqlite'
);
$em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config);