aboutsummaryrefslogtreecommitdiffhomepage
path: root/database/seeds/DatabaseSeeder.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 13:57:57 +0200
committerMarvin Borner2018-07-20 13:57:57 +0200
commit932d439444f10774bff546923cc0a2e5e2f2857b (patch)
treeef9bcc039d263f929b4f4991881a52a8343c1dfe /database/seeds/DatabaseSeeder.php
parentbd04ac097a0a29ba7c48a5f4a46d99ae7d86eea1 (diff)
Rewrite (only for backend/oauth/api use from now on)
Diffstat (limited to 'database/seeds/DatabaseSeeder.php')
-rw-r--r--[-rwxr-xr-x]database/seeds/DatabaseSeeder.php21
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);
}
}