Skip to content

Commit

Permalink
put old seeders back
Browse files Browse the repository at this point in the history
  • Loading branch information
kulisse committed Sep 7, 2021
1 parent 45cf421 commit f323497
Show file tree
Hide file tree
Showing 2 changed files with 1,162 additions and 23,571 deletions.
106 changes: 13 additions & 93 deletions backend/database/seeders/TestUserSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,104 +16,24 @@ class TestUserSeeder extends Seeder
public function run()
{
DB::table('users')->insert([
'id' => 11,
'name' => 'awo-etu',
'firstname' => 'awo-etu',
'lastname' => 'awo-etu',
'email' => 'awo-etu@test.ch',
'password' => Hash::make('password'),
'id' => 1,
'name' => 'admin',
'firstname' => 'admin',
'lastname' => 'admin',
'email' => 'steve.mendesreis@he-arc.ch',
'password' => Hash::make('test'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 12,
'name' => 'awo-prof',
'firstname' => 'awo-prof',
'lastname' => 'awo-prof',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 13,
'name' => 'dgr-etu',
'firstname' => 'dgr-etu',
'lastname' => 'dgr-etu',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 14,
'name' => 'dgr-prof',
'firstname' => 'dgr-prof',
'lastname' => 'dgr-prof',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 15,
'name' => 'jpe-etu',
'firstname' => 'jpe-etu',
'lastname' => 'jpe-etu',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 16,
'name' => 'jpe-prof',
'firstname' => 'jpe-prof',
'lastname' => 'jpe-prof',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 17,
'name' => 'jne-etu',
'firstname' => 'jne-etu',
'lastname' => 'jne-etu',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 18,
'name' => 'jne-prof',
'firstname' => 'jne-prof',
'lastname' => 'jne-prof',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 19,
'name' => 'sbe-etu',
'firstname' => 'sbe-etu',
'lastname' => 'sbe-etu',
'email' => '[email protected]',
'password' => Hash::make('password'),
'created_at' => now(),
'updated_at' => now()
]);
DB::table('users')->insert([
'id' => 20,
'name' => 'sbe-prof',
'firstname' => 'sbe-prof',
'lastname' => 'sbe-prof',
'email' => '[email protected]',
'password' => Hash::make('password'),
'id' => 2,
'name' => 'test',
'firstname' => 'test',
'lastname' => 'test',
'email' => '[email protected]',
'password' => Hash::make('test'),
'created_at' => now(),
'updated_at' => now()
]);
}
}
}
Loading

0 comments on commit f323497

Please sign in to comment.