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