Added seeder for account types and account classes.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class AccountClassesTableSeeder extends Seeder
|
||||
{
|
||||
@@ -11,6 +12,87 @@ class AccountClassesTableSeeder extends Seeder
|
||||
*/
|
||||
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')
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user