Minor changes to optimise new installs
This commit is contained in:
@@ -13,7 +13,7 @@ class DatabaseSeeder extends Seeder
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$this->call(InitialSetupSeeder::class);
|
||||
$this->call(NodeHierarchy::class);
|
||||
$this->call(InitialSetup::class);
|
||||
$this->call(TestNodeHierarchy::class);
|
||||
}
|
||||
}
|
||||
|
@@ -8,7 +8,7 @@ use Illuminate\Support\Facades\DB;
|
||||
|
||||
use App\Models\{Domain,Software,System,Zone};
|
||||
|
||||
class InitialSetupSeeder extends Seeder
|
||||
class InitialSetup extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
@@ -65,28 +65,12 @@ class InitialSetupSeeder extends Seeder
|
||||
]);
|
||||
|
||||
DB::table('users')->insert([
|
||||
'name'=>'Deon George',
|
||||
'email'=>'deon@leenooks.net',
|
||||
'name'=>'System Admin',
|
||||
'email'=>'admin@clrghouz',
|
||||
'email_verified_at'=>Carbon::now(),
|
||||
'admin'=>TRUE,
|
||||
'active'=>TRUE,
|
||||
'password'=>'$2y$10$bJQDLfxnKrh6o5Sa02MZOukXcLTNQiByXSTJ7fTr.kHMpV2wxbG6.',
|
||||
]);
|
||||
|
||||
DB::table('echoareas')->insert([
|
||||
'name'=>'-BAD_AREA',
|
||||
'description'=>'Inbound invalid echomail',
|
||||
'active'=>TRUE,
|
||||
'show'=>TRUE,
|
||||
'domain_id'=>$do->id,
|
||||
]);
|
||||
|
||||
DB::table('fileareas')->insert([
|
||||
'name'=>'-BAD_AREA',
|
||||
'description'=>'Inbound invalid files',
|
||||
'active'=>TRUE,
|
||||
'show'=>TRUE,
|
||||
'domain_id'=>$do->id,
|
||||
]);
|
||||
}
|
||||
}
|
@@ -8,7 +8,7 @@ use Illuminate\Support\Facades\DB;
|
||||
|
||||
use App\Models\{Address,Domain,System,Zone};
|
||||
|
||||
class NodeHierarchy extends Seeder
|
||||
class TestNodeHierarchy extends Seeder
|
||||
{
|
||||
public const DEBUG=TRUE;
|
||||
|
Reference in New Issue
Block a user