Apply fixes from StyleCI
This commit is contained in:
@@ -46,12 +46,12 @@ class InstallDB extends Command
|
||||
try {
|
||||
if ($this->confirm('Do you want to migrate tables now?')) {
|
||||
$env = base_path().DIRECTORY_SEPARATOR.'.env';
|
||||
if (! is_file($env)) {
|
||||
if (!is_file($env)) {
|
||||
throw new \Exception("Please run 'php artisan install:faveo'");
|
||||
}
|
||||
$dummy_confirm = $this->confirm('Would you like to install dummy data in database to test before going live?');
|
||||
$this->call('key:generate', ['--force' => true]);
|
||||
if (! $dummy_confirm) {
|
||||
if (!$dummy_confirm) {
|
||||
$this->call('install:migrate');
|
||||
$this->call('install:seed');
|
||||
} else {
|
||||
@@ -62,8 +62,8 @@ class InstallDB extends Command
|
||||
$data = [
|
||||
[
|
||||
'user_name' => 'demo_admin',
|
||||
'email' => '',
|
||||
'password' => 'demopass',
|
||||
'email' => '',
|
||||
'password' => 'demopass',
|
||||
],
|
||||
];
|
||||
$this->table($headers, $data);
|
||||
|
Reference in New Issue
Block a user