mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Tweak behaviour of memory driver and small update
This commit is contained in:
@@ -54,8 +54,11 @@ class GeneratorCommand extends Command {
|
||||
}
|
||||
|
||||
protected function setupDefaults(){
|
||||
//Create memory database driver, to avoid connection errors on Database facades
|
||||
\Config::set('database.connections.sqlite.database',':memory');
|
||||
//Use a sqlite database in memory, to avoid connection errors on Database facades
|
||||
\Config::set('database.connections.sqlite',array(
|
||||
'driver' => 'sqlite',
|
||||
'database' => ':memory:',
|
||||
));
|
||||
\Config::set('database.default', 'sqlite');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user