Merge branch 'main'
This commit is contained in:
commit
21690beb9f
@ -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');
|
||||
});
|
||||
}
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user