2015-07-19 06:49:24 +00:00
|
|
|
<?php
|
|
|
|
|
2022-08-10 09:18:10 +00:00
|
|
|
namespace Database\Seeders;
|
|
|
|
|
2015-07-19 06:49:24 +00:00
|
|
|
use Illuminate\Database\Seeder;
|
2022-08-10 09:18:10 +00:00
|
|
|
// use Carbon\Carbon;
|
2015-07-19 06:49:24 +00:00
|
|
|
|
2018-09-06 15:58:54 +00:00
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
// Model::unguard();
|
2015-07-19 06:49:24 +00:00
|
|
|
|
2018-09-06 15:58:54 +00:00
|
|
|
// DB::table('users')->insert([
|
2018-08-06 12:30:51 +00:00
|
|
|
// 'name' => str_random(10),
|
|
|
|
// 'email' => str_random(10).'@gmail.com',
|
|
|
|
// 'password' => bcrypt('secret'),
|
|
|
|
// ]);
|
|
|
|
|
2019-08-29 14:58:35 +00:00
|
|
|
|
|
|
|
// $this->call('CategoryTableSeeder');
|
|
|
|
// $this->call('BookTableSeeder');
|
2019-08-29 15:51:13 +00:00
|
|
|
$this->call('MimetypeTableSeeder');
|
2019-08-29 14:58:35 +00:00
|
|
|
$this->call('AccountsTableSeeder');
|
|
|
|
$this->call('RolesTableSeeder');
|
|
|
|
$this->call('LicencesTableSeeder');
|
|
|
|
$this->call('LanguagesTableSeeder');
|
|
|
|
$this->call('PagesTableSeeder');
|
2019-09-02 14:58:08 +00:00
|
|
|
$this->call('CollectionsTableSeeder');
|
2019-09-03 15:43:56 +00:00
|
|
|
$this->call('ProjectsTableSeeder');
|
2020-03-04 18:00:03 +00:00
|
|
|
$this->call('MessagesTableSeeder');
|
2018-09-06 15:58:54 +00:00
|
|
|
}
|
2015-07-19 06:49:24 +00:00
|
|
|
}
|