tethys/database/seeds/DatabaseSeeder.php
Arno Kaimbacher 728687304c - composer updates
- publisher_name dafault auf 'Geologische Bundesanstalt (GBA)'
- componet facet-list auf facet-category unbenannt
- change database.php um eventuell schema aus dem .env-file zu entnehmen, fall angegeben
- LicencesTableSeeder.php amgepasst
2020-06-10 21:09:32 +02:00

37 lines
936 B
PHP
Executable File

<?php
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');
}
}