- 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
This commit is contained in:
Arno Kaimbacher 2020-03-04 19:00:03 +01:00
parent bfd914a36d
commit 728687304c
12 changed files with 116 additions and 153 deletions

View file

@ -31,62 +31,6 @@ class DatabaseSeeder extends Seeder
$this->call('PagesTableSeeder');
$this->call('CollectionsTableSeeder');
$this->call('ProjectsTableSeeder');
$this->command->info('User table seeded!');
$this->call('MessagesTableSeeder');
}
}
class CollectionTableSeeder extends Seeder
{
public function run()
{
// DB::table('users')->delete();
// User::create([
// 'name' => str_random(10),
// 'email' => 'foo@gmail.com',
// 'password' => bcrypt('secret')
// ]);
DB::table('collections')->insert([
[
'id' => '0',
'number' => null,
'name' => 'first collection',
'parent_id' => null,
'created_at' => new DateTime(),
'updated_at' => new DateTime(),
],
[
'id' => '1',
'number' => '0',
'name' => 'Informatik, Informationswissenschaft, allgemeine Werke',
'parent_id' => '0',
'created_at' => '2015-06-09 00:17:51',
'updated_at' => '2015-06-09 01:01:36',
],
[
'id' => '2',
'number' => '1',
'name' => 'Philosophie und Psychologie',
'parent_id' => '0',
'created_at' => '2015-06-09 01:07:41',
'updated_at' => '2015-06-09 01:07:41',
],
[
'id' => '3',
'number' => '2',
'name' => 'Religion',
'parent_id' => '0',
'created_at' => '2015-06-09 01:07:50',
'updated_at' => '2015-06-09 01:07:50',
],
[
'id' => '4',
'number' => '3',
'name' => 'Sozialwissenschaften',
'parent_id' => '0',
'created_at' => '2015-06-09 01:07:50',
'updated_at' => '2015-06-09 01:07:50',
],
]);
}
}