diff --git a/lib/Doctrine/Connection/Sqlite.php b/lib/Doctrine/Connection/Sqlite.php index f70b10abf..3c5664882 100644 --- a/lib/Doctrine/Connection/Sqlite.php +++ b/lib/Doctrine/Connection/Sqlite.php @@ -76,6 +76,16 @@ class Doctrine_Connection_Sqlite extends Doctrine_Connection_Common parent::__construct($manager, $adapter); $this->initFunctions(); } + /** + * getDatabaseFile + * + * @param string $name the name of the database + * @return string + */ + public function getDatabaseFile($name) + { + return $name . '.db'; + } /** * initializes database functions missing in sqlite *