- npm updates
This commit is contained in:
parent
385ae20a1b
commit
87fff27527
3 changed files with 213 additions and 50 deletions
|
@ -1,46 +1,39 @@
|
|||
<?php
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Database\DisableForeignKeys;
|
||||
use Database\TruncateTable;
|
||||
// use Database\DisableForeignKeys;
|
||||
// use Database\TruncateTable;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Faker\Factory as Faker;
|
||||
|
||||
class AccountsTableSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
// DB::table('users')->delete();
|
||||
|
||||
// User::create([
|
||||
// 'name' => str_random(10),
|
||||
// 'email' => 'foo@gmail.com',
|
||||
// 'password' => bcrypt('secret')
|
||||
// ]);
|
||||
|
||||
DB::table('accounts')->insert([
|
||||
[
|
||||
'login' => "admin",
|
||||
'email' => "repository" . '@geologie.ac.at',
|
||||
'password' => bcrypt('admin007'),
|
||||
'email' => "admin@localhost",
|
||||
'password' => bcrypt('secret'),
|
||||
'created_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'login' => "Submitty",
|
||||
'email' => "submitter@geologie.ac.at",
|
||||
'password' => bcrypt('rdr007'),
|
||||
'email' => "submitter@localhost",
|
||||
'password' => bcrypt('secret'),
|
||||
'created_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'login' => "Eddy",
|
||||
'email' => "editor@geologie.ac.at",
|
||||
'password' => bcrypt('rdr007'),
|
||||
'email' => "editor@localhost",
|
||||
'password' => bcrypt('secret'),
|
||||
'created_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'login' => "Review",
|
||||
'email' => "review@geologie.ac.at",
|
||||
'password' => bcrypt('rdr007'),
|
||||
'email' => "review@localhost",
|
||||
'password' => bcrypt('secret'),
|
||||
'created_at' => Carbon::now(),
|
||||
],
|
||||
]);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue