- 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:
parent
1b2e77d907
commit
8ea540a88c
50 changed files with 616 additions and 263 deletions
38
database/seeders/DatabaseSeeder.php
Normal file
38
database/seeders/DatabaseSeeder.php
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
// use Carbon\Carbon;
|
||||
|
||||
class DatabaseSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
// Model::unguard();
|
||||
|
||||
// DB::table('users')->insert([
|
||||
// 'name' => str_random(10),
|
||||
// 'email' => str_random(10).'@gmail.com',
|
||||
// 'password' => bcrypt('secret'),
|
||||
// ]);
|
||||
|
||||
|
||||
// $this->call('CategoryTableSeeder');
|
||||
// $this->call('BookTableSeeder');
|
||||
$this->call('MimetypeTableSeeder');
|
||||
$this->call('AccountsTableSeeder');
|
||||
$this->call('RolesTableSeeder');
|
||||
$this->call('LicencesTableSeeder');
|
||||
$this->call('LanguagesTableSeeder');
|
||||
$this->call('PagesTableSeeder');
|
||||
$this->call('CollectionsTableSeeder');
|
||||
$this->call('ProjectsTableSeeder');
|
||||
$this->call('MessagesTableSeeder');
|
||||
}
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue