Added some tables to the backup seed.
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class AccountClassesTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('account_classes')->delete();
|
||||
|
||||
\DB::table('account_classes')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => 'EINNAHMEN',
|
||||
'number' => 1000,
|
||||
'io_type_id' => 1,
|
||||
'scope_id' => 1,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => 'AUSGABEN',
|
||||
'number' => 1500,
|
||||
'io_type_id' => 2,
|
||||
'scope_id' => 1,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => 'EINNAHMEN',
|
||||
'number' => 2000,
|
||||
'io_type_id' => 1,
|
||||
'scope_id' => 2,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'name' => 'AUSGABEN',
|
||||
'number' => 2500,
|
||||
'io_type_id' => 2,
|
||||
'scope_id' => 2,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => 'EINNAHMEN',
|
||||
'number' => 3000,
|
||||
'io_type_id' => 1,
|
||||
'scope_id' => 3,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'name' => 'AUSGABEN',
|
||||
'number' => 3500,
|
||||
'io_type_id' => 2,
|
||||
'scope_id' => 3,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'name' => 'EINNAHMEN',
|
||||
'number' => 4000,
|
||||
'io_type_id' => 1,
|
||||
'scope_id' => 4,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'name' => 'AUSGABEN',
|
||||
'number' => 4500,
|
||||
'io_type_id' => 2,
|
||||
'scope_id' => 4,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'name' => 'EINNAHMEN',
|
||||
'number' => 5000,
|
||||
'io_type_id' => 1,
|
||||
'scope_id' => 5,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'name' => 'AUSGABEN',
|
||||
'number' => 5500,
|
||||
'io_type_id' => 2,
|
||||
'scope_id' => 5,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user