ein paar models und migrateions
This commit is contained in:
@@ -15,11 +15,14 @@ class DatabaseSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
// User::factory(10)->create();
|
||||
|
||||
User::factory()->create([
|
||||
'name' => 'Test User',
|
||||
'email' => 'test@example.com',
|
||||
]);
|
||||
User::firstOrCreate(
|
||||
['email' => 'info@geoventis.de'],
|
||||
[
|
||||
'name' => 'Max Mustermann',
|
||||
'password' => bcrypt('servo3000'),
|
||||
]
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user