the whole shebang
This commit is contained in:
35
vendor/laravel/framework/src/Illuminate/Database/SQLiteConnection.php
vendored
Executable file
35
vendor/laravel/framework/src/Illuminate/Database/SQLiteConnection.php
vendored
Executable file
@@ -0,0 +1,35 @@
|
||||
<?php namespace Illuminate\Database;
|
||||
|
||||
class SQLiteConnection extends Connection {
|
||||
|
||||
/**
|
||||
* Get the default query grammar instance.
|
||||
*
|
||||
* @return \Illuminate\Database\Query\Grammars\Grammars\Grammar
|
||||
*/
|
||||
protected function getDefaultQueryGrammar()
|
||||
{
|
||||
return $this->withTablePrefix(new Query\Grammars\SQLiteGrammar);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the default schema grammar instance.
|
||||
*
|
||||
* @return \Illuminate\Database\Schema\Grammars\Grammar
|
||||
*/
|
||||
protected function getDefaultSchemaGrammar()
|
||||
{
|
||||
return $this->withTablePrefix(new Schema\Grammars\SQLiteGrammar);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Doctrine DBAL Driver.
|
||||
*
|
||||
* @return \Doctrine\DBAL\Driver
|
||||
*/
|
||||
protected function getDoctrineDriver()
|
||||
{
|
||||
return new \Doctrine\DBAL\Driver\PDOSqlite\Driver;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user