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:
+1
-1
@@ -4124,7 +4124,7 @@ namespace {
|
||||
* @param array $options
|
||||
* @return string
|
||||
*/
|
||||
public static function submit($value = null, $options = array()){
|
||||
public static function submit($value = 'Submit', $options = array()){
|
||||
return self::$root->submit($value, $options);
|
||||
}
|
||||
|
||||
|
||||
@@ -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