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',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,519 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class AccountTypesTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('account_types')->delete();
|
||||
|
||||
\DB::table('account_types')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => 'Mitgliederbeiträge',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1001,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => 'Teilnehmerbeiträge Probenwochenenden',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1002,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => 'Teilnehmerbeiträge Wettbewerbe etc.',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1003,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'name' => 'Teilnehmerbeiträge Workshops & Coachings',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1004,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => 'Spenden',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1010,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'name' => 'Zuschüsse',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1011,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'name' => 'Preisgelder , Prämien',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1012,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-11-27 15:31:09',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'name' => 'Verkaufserlöse Notenverkauf',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1070,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'name' => 'Honorare Chorleiter',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1501,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'name' => 'Honorare Gastkünstler',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1502,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'name' => 'Honorare Workshopleiter & Coaches',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1503,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'name' => 'Honorare Ton- und Lichttechniker',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1504,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'name' => 'Honorare Fotografen',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1505,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'name' => 'Sonstige Honorare',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1509,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'name' => 'Kontoführung',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1510,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'name' => 'Webdienste, Social Media',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1520,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'name' => 'GEMA Gebühren',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1530,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'name' => 'Beiträge Chorverband',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1531,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'name' => 'Versicherungen',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1532,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'name' => 'Büromaterial',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1540,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'name' => 'Porto',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1541,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'name' => 'Teilnehmerbeiträge Wettbewerbe etc.',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1550,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'name' => 'Sonstige Teilnehmerbeiträge',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1559,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'name' => 'Miete Probenräume',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1560,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'name' => 'Miete Konzerträume',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1561,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'name' => 'Sonstige Mieten',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1562,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
'id' => 27,
|
||||
'name' => 'Arrangements',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1570,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
'id' => 28,
|
||||
'name' => 'Anschaffungskosten Noten',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1571,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
'id' => 29,
|
||||
'name' => 'Geschenke, Jubiläen, Ehrungen',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1580,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
'id' => 30,
|
||||
'name' => 'Fahrtkosten',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1590,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
'id' => 31,
|
||||
'name' => 'Verpflegung Probenwochenenden',
|
||||
'account_class_id' => 2,
|
||||
'number' => 1600,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
31 =>
|
||||
array (
|
||||
'id' => 32,
|
||||
'name' => 'Verkaufserlöse Tonträger',
|
||||
'account_class_id' => 3,
|
||||
'number' => 2001,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
32 =>
|
||||
array (
|
||||
'id' => 33,
|
||||
'name' => 'Gagen',
|
||||
'account_class_id' => 3,
|
||||
'number' => 2010,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
33 =>
|
||||
array (
|
||||
'id' => 34,
|
||||
'name' => 'Verkaufserlöse Konzerttickets',
|
||||
'account_class_id' => 3,
|
||||
'number' => 2011,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
34 =>
|
||||
array (
|
||||
'id' => 35,
|
||||
'name' => 'Versandkosten',
|
||||
'account_class_id' => 3,
|
||||
'number' => 2020,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
35 =>
|
||||
array (
|
||||
'id' => 36,
|
||||
'name' => 'Produktion Tonträger',
|
||||
'account_class_id' => 4,
|
||||
'number' => 2501,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
36 =>
|
||||
array (
|
||||
'id' => 37,
|
||||
'name' => 'Bühnentechnik',
|
||||
'account_class_id' => 4,
|
||||
'number' => 2510,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
37 =>
|
||||
array (
|
||||
'id' => 38,
|
||||
'name' => 'Versandkosten',
|
||||
'account_class_id' => 4,
|
||||
'number' => 2520,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
38 =>
|
||||
array (
|
||||
'id' => 39,
|
||||
'name' => 'Verpflegung bei Konzerten',
|
||||
'account_class_id' => 4,
|
||||
'number' => 2530,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
39 =>
|
||||
array (
|
||||
'id' => 40,
|
||||
'name' => 'Druckerzeugnisse',
|
||||
'account_class_id' => 4,
|
||||
'number' => 2540,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
40 =>
|
||||
array (
|
||||
'id' => 41,
|
||||
'name' => 'Verkaufserlöse Merchandise',
|
||||
'account_class_id' => 7,
|
||||
'number' => 4001,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
41 =>
|
||||
array (
|
||||
'id' => 42,
|
||||
'name' => 'Verkaufserlöse Essen, Getränke',
|
||||
'account_class_id' => 7,
|
||||
'number' => 4002,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
42 =>
|
||||
array (
|
||||
'id' => 43,
|
||||
'name' => 'Produktion Merchandise',
|
||||
'account_class_id' => 8,
|
||||
'number' => 4501,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
43 =>
|
||||
array (
|
||||
'id' => 44,
|
||||
'name' => 'Einkauf Essen, Getränke',
|
||||
'account_class_id' => 8,
|
||||
'number' => 4502,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
44 =>
|
||||
array (
|
||||
'id' => 45,
|
||||
'name' => 'Auslagen, Pfänder',
|
||||
'account_class_id' => 9,
|
||||
'number' => 5001,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
45 =>
|
||||
array (
|
||||
'id' => 46,
|
||||
'name' => 'Auslagen, Pfänder',
|
||||
'account_class_id' => 10,
|
||||
'number' => 5501,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
46 =>
|
||||
array (
|
||||
'id' => 47,
|
||||
'name' => 'Auftrittskleidung',
|
||||
'account_class_id' => 4,
|
||||
'number' => 2511,
|
||||
'created_at' => '2018-10-25 09:08:15',
|
||||
'updated_at' => '2018-10-25 09:08:15',
|
||||
),
|
||||
47 =>
|
||||
array (
|
||||
'id' => 48,
|
||||
'name' => 'Rückerstattungen',
|
||||
'account_class_id' => 10,
|
||||
'number' => 5510,
|
||||
'created_at' => '2018-11-15 16:00:22',
|
||||
'updated_at' => '2018-12-03 13:13:15',
|
||||
),
|
||||
48 =>
|
||||
array (
|
||||
'id' => 49,
|
||||
'name' => 'Sponsoring',
|
||||
'account_class_id' => 1,
|
||||
'number' => 1013,
|
||||
'created_at' => '2018-11-27 15:32:21',
|
||||
'updated_at' => '2018-11-27 15:32:21',
|
||||
),
|
||||
49 =>
|
||||
array (
|
||||
'id' => 50,
|
||||
'name' => 'Wechselgeld',
|
||||
'account_class_id' => 9,
|
||||
'number' => 5002,
|
||||
'created_at' => '2018-11-27 15:43:44',
|
||||
'updated_at' => '2018-11-27 15:43:44',
|
||||
),
|
||||
50 =>
|
||||
array (
|
||||
'id' => 51,
|
||||
'name' => 'Wechselgeld',
|
||||
'account_class_id' => 10,
|
||||
'number' => 5502,
|
||||
'created_at' => '2018-11-27 15:44:05',
|
||||
'updated_at' => '2018-11-27 15:44:05',
|
||||
),
|
||||
51 =>
|
||||
array (
|
||||
'id' => 52,
|
||||
'name' => 'Mahngebühren',
|
||||
'account_class_id' => 10,
|
||||
'number' => 5503,
|
||||
'created_at' => '2018-12-03 12:05:46',
|
||||
'updated_at' => '2018-12-03 12:05:46',
|
||||
),
|
||||
52 =>
|
||||
array (
|
||||
'id' => 53,
|
||||
'name' => 'Überzahlungen',
|
||||
'account_class_id' => 9,
|
||||
'number' => 5010,
|
||||
'created_at' => '2018-12-03 13:42:52',
|
||||
'updated_at' => '2018-12-03 13:42:52',
|
||||
),
|
||||
53 =>
|
||||
array (
|
||||
'id' => 54,
|
||||
'name' => 'Überzahlungen',
|
||||
'account_class_id' => 10,
|
||||
'number' => 5511,
|
||||
'created_at' => '2018-12-03 14:01:31',
|
||||
'updated_at' => '2018-12-03 14:04:02',
|
||||
),
|
||||
54 =>
|
||||
array (
|
||||
'id' => 56,
|
||||
'name' => 'Rückerstattungen',
|
||||
'account_class_id' => 9,
|
||||
'number' => 5011,
|
||||
'created_at' => '2018-12-03 14:04:40',
|
||||
'updated_at' => '2018-12-03 14:04:40',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class IOTypesTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('i_o_types')->delete();
|
||||
|
||||
\DB::table('i_o_types')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => 'Einnahme',
|
||||
'factor' => 1,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => 'Ausgabe',
|
||||
'factor' => -1,
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ScopesTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('scopes')->delete();
|
||||
|
||||
\DB::table('scopes')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => 'Ideeller Bereich',
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => 'Zweckbetrieb',
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => 'Vermögensverwaltung',
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'name' => 'Wirtschaftlicher Geschäftsbetrieb',
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => 'Sonstiges',
|
||||
'created_at' => '2018-10-17 11:50:13',
|
||||
'updated_at' => '2018-10-17 11:50:13',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user