ein paar models und migrateions

This commit is contained in:
2026-02-08 14:06:08 +00:00
parent fca99107ae
commit fc6aee5760
6 changed files with 97 additions and 5 deletions

View File

@@ -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'),
]
);
}
}