diff options
Diffstat (limited to 'database/seeds/DatabaseSeeder.php')
-rw-r--r--[-rwxr-xr-x] | database/seeds/DatabaseSeeder.php | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index a443b45..91cb6d1 100755..100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -1,8 +1,6 @@ <?php use Illuminate\Database\Seeder; -use Illuminate\Support\Facades\DB; -use Illuminate\Support\Facades\Hash; class DatabaseSeeder extends Seeder { @@ -13,23 +11,6 @@ class DatabaseSeeder extends Seeder */ public function run() { - DB::table('users')->insert([ - 'id' => 0, - 'name' => 'genesis', - 'email' => ' ', - 'password' => ' ', - 'prevHash' => '0', - 'hash' => Hash::make('genesis') - ]); - - DB::table('users')->insert([ - 'name' => 'Marvin Borner', - 'email' => 'marvin@borners.de', - 'password' => Hash::make('password'), - 'prevHash' => Hash::make('genesis'), - 'hash' => Hash::make(Hash::make('genesis') . 'Marvin Borner' . 'marvin@borners.de' . Hash::make('password')), // hashing: prev hash, all fields in current 'block' - 'api_token' => "password", - 'admin' => 1 - ]); + // $this->call(UsersTableSeeder::class); } } |