Files
pollux/database/seeds/constants/AccountClassesTableSeeder.php
T

99 lines
3.3 KiB
PHP

<?php
use Illuminate\Database\Seeder;
use Carbon\Carbon;
class AccountClassesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('account_classes')->insert([
[
'scope_id' => 1,
'io_type' => 1,
'number' => 1000,
'name' => 'EINNAHMEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 1,
'io_type' => 2,
'number' => 1500,
'name' => 'AUSGABEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 2,
'io_type' => 1,
'number' => 2000,
'name' => 'EINNAHMEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 2,
'io_type' => 2,
'number' => 2500,
'name' => 'AUSGABEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 3,
'io_type' => 1,
'number' => 3000,
'name' => 'EINNAHMEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 3,
'io_type' => 2,
'number' => 3500,
'name' => 'AUSGABEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 4,
'io_type' => 1,
'number' => 4000,
'name' => 'EINNAHMEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 4,
'io_type' => 2,
'number' => 4500,
'name' => 'AUSGABEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 5,
'io_type' => 1,
'number' => 5000,
'name' => 'EINNAHMEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
],
[
'scope_id' => 5,
'io_type' => 2,
'number' => 5500,
'name' => 'AUSGABEN',
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s')
]
]);
}
}