tethys/database/seeders/DatabaseSeeder.php

38 lines
938 B
PHP
Raw Normal View History

2015-07-19 06:49:24 +00:00
<?php
namespace Database\Seeders;
2015-07-19 06:49:24 +00:00
use Illuminate\Database\Seeder;
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'),
// ]);
// $this->call('CategoryTableSeeder');
// $this->call('BookTableSeeder');
2019-08-29 15:51:13 +00:00
$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');
2018-09-06 15:58:54 +00:00
}
2015-07-19 06:49:24 +00:00
}