Added some tables to the backup seed.

This commit is contained in:
Lukas Halbritter
2018-12-06 11:47:34 +01:00
parent e664e81680
commit 280b132282
15 changed files with 32412 additions and 15 deletions
@@ -0,0 +1,43 @@
<?php
use Illuminate\Database\Seeder;
use Carbon\Carbon;
class InitScopesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('scopes')->insert([
[
'name' => 'Ideeller Bereich',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'name' => 'Zweckbetrieb',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'name' => 'Vermögensverwaltung',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'name' => 'Wirtschaftlicher Geschäftsbetrieb',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'name' => 'Sonstiges',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
}
}