Skip to content

Commit

Permalink
Fix: seeder bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
clandestine8 committed Feb 11, 2024
1 parent 9149647 commit c0aa1e7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions database/seeders/BotsTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public function run(): void
{bots}',
'is_protected' => 1,
'is_systembot' => 1,
'is_nerdbot' => 0,
'is_casinobot' => 0,
'is_betbot' => 0,
'is_triviabot' => 0,
],
[
'name' => 'NerdBot',
Expand Down Expand Up @@ -82,7 +86,11 @@ public function run(): void
(All NerdBot statistics are cached for 60 minutes)',
'is_protected' => 1,
'is_systembot' => 0,
'is_nerdbot' => 1,
'is_casinobot' => 0,
'is_betbot' => 0,
'is_triviabot' => 0,
],
[
'name' => 'CasinoBot',
Expand All @@ -93,7 +101,11 @@ public function run(): void
'icon' => 'fab fa-android',
'help' => 'Coming soon',
'is_protected' => 1,
'is_systembot' => 0,
'is_nerdbot' => 0,
'is_casinobot' => 1,
'is_betbot' => 0,
'is_triviabot' => 0,
],
[
'name' => 'BetBot',
Expand All @@ -104,7 +116,11 @@ public function run(): void
'icon' => 'fab fa-android',
'help' => 'Coming soon',
'is_protected' => 1,
'is_systembot' => 0,
'is_nerdbot' => 0,
'is_casinobot' => 0,
'is_betbot' => 1,
'is_triviabot' => 0,
],
[
'name' => 'TriviaBot',
Expand All @@ -115,6 +131,10 @@ public function run(): void
'icon' => 'fab fa-android',
'help' => 'Coming soon',
'is_protected' => 1,
'is_systembot' => 0,
'is_nerdbot' => 0,
'is_casinobot' => 0,
'is_betbot' => 0,
'is_triviabot' => 1,
],
], ['id']);
Expand Down
2 changes: 1 addition & 1 deletion database/seeders/UsersTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function run(): void
'username' => config('unit3d.owner-username'),
'email' => config('unit3d.default-owner-email'),
'email_verified_at' => now(),
'group_id' => 10,
'group_id' => 9,
'password' => Hash::make(config('unit3d.default-owner-password')),
'passkey' => md5(random_bytes(60)),
'rsskey' => md5(random_bytes(60)),
Expand Down

0 comments on commit c0aa1e7

Please sign in to comment.