- laravel framework upgrade frpm 7.x to 8. see also: https://laravel.com/docs/8.x/upgrade#assert-exact-json-method

- use  PHP7 null coalesce operator instead of laravel optional method
- change Breadcrumbs::register method to Bredcrumbs::for method
- composer updates
This commit is contained in:
Arno Kaimbacher 2022-08-10 11:18:10 +02:00
parent 1b2e77d907
commit 8ea540a88c
50 changed files with 616 additions and 263 deletions

View file

@ -1,41 +0,0 @@
<?php
use Carbon\Carbon;
// use Database\DisableForeignKeys;
// use Database\TruncateTable;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class AccountsTableSeeder extends Seeder
{
public function run()
{
DB::table('accounts')->insert([
[
'login' => "admin",
'email' => "admin@localhost",
'password' => bcrypt('secret'),
'created_at' => Carbon::now(),
],
[
'login' => "Submitty",
'email' => "submitter@localhost",
'password' => bcrypt('secret'),
'created_at' => Carbon::now(),
],
[
'login' => "Eddy",
'email' => "editor@localhost",
'password' => bcrypt('secret'),
'created_at' => Carbon::now(),
],
[
'login' => "Review",
'email' => "review@localhost",
'password' => bcrypt('secret'),
'created_at' => Carbon::now(),
],
]);
}
}