Merge branch 'main'

This commit is contained in:
unknown 2022-11-17 09:04:06 +01:00
commit 21690beb9f
2 changed files with 8 additions and 1 deletions

View File

@ -17,7 +17,6 @@ return new class extends Migration
$table->id();
$table->timestamps();
$table->unsignedBigInteger('player');
$table->integer('numberOfHits');
$table->foreign('player')->references('id')->on('users');
});
}

View File

@ -23,6 +23,14 @@ class UserSeeder extends Seeder
// 'password' => md5('passwd')
//]);
User::create([
'username' => 'Anonymous',
'email' => 'N/A',
'password' => "",
'profile_picture' => '/images/undefined.jpg',
'isAdmin' => '1'
]);
User::create([
'username' => 'admin',
'email' => 'admin@ncob.com',