diff --git a/backupDatabase.sh b/backupDatabase.sh new file mode 100644 index 0000000..124fd0b --- /dev/null +++ b/backupDatabase.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +root_dir='/home/halbi/Dokumente/twaeng/pollux' +seeder_root='/database/seeds' +seeder_data='/data/real' + +#Rename Seeder File +cd ${root_dir}${seeder_root} +mv DatabaseSeeder.php DatabaseSeederTmp.php +cd ${root_dir} + +#Create seeder files +php artisan iseed people,member_states,person_targets,bookings,projects,sub_bookings + +# Put everything in the right position +cd ${root_dir}${seeder_root} +mv BookingsTableSeeder.php MemberStatesTableSeeder.php P*.php SubBookingsTableSeeder.php ${seeder_data} +mv DatabaseSeederTmp.php DatabaseSeeder.php diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index d14941c..c597fb9 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -12,7 +12,8 @@ class DatabaseSeeder extends Seeder public function run() { $this->call([ - ConstantsSeeder::class + ConstantsSeeder::class, + DataSeeder::class ]); } } diff --git a/database/seeds/constants/AccountTypesTableSeeder.php b/database/seeds/constants/AccountTypesTableSeeder.php index 27ee9ee..cbb433d 100644 --- a/database/seeds/constants/AccountTypesTableSeeder.php +++ b/database/seeds/constants/AccountTypesTableSeeder.php @@ -186,7 +186,7 @@ class AccountTypesTableSeeder extends Seeder [ 'account_class_id' => 2, 'number' => 1560, - 'name' => 'Miete PRobenräume', + 'name' => 'Miete Probenräume', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') ], @@ -328,6 +328,13 @@ class AccountTypesTableSeeder extends Seeder 'name' => 'Verkaufserlöse Merchandise', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'account_class_id' => 7, + 'number' => 4002, + 'name' => 'Verkaufserlöse Essen, Getränke', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') ] ]); @@ -339,6 +346,13 @@ class AccountTypesTableSeeder extends Seeder 'name' => 'Produktion Merchandise', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') + ], + [ + 'account_class_id' => 8, + 'number' => 4502, + 'name' => 'Einkauf Essen, Getränke', + 'created_at' => Carbon::now()->format('Y-m-d H:i:s'), + 'updated_at' => Carbon::now()->format('Y-m-d H:i:s') ] ]); diff --git a/database/seeds/data/real/BookingsTableSeeder.php b/database/seeds/data/real/BookingsTableSeeder.php new file mode 100644 index 0000000..bb582d7 --- /dev/null +++ b/database/seeds/data/real/BookingsTableSeeder.php @@ -0,0 +1,284 @@ +delete(); + + \DB::table('bookings')->insert(array ( + 0 => + array ( + 'id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Lukas Halbritter', + 'note' => NULL, + 'created_at' => '2018-10-11 08:36:03', + 'updated_at' => '2018-10-11 08:36:03', + ), + 1 => + array ( + 'id' => 3, + 'reference' => 'Auslagenersatz Büromaterial', + 'date' => '2014-06-30', + 'person_or_company' => 'Lukas Halbritter', + 'note' => NULL, + 'created_at' => '2018-10-11 08:46:41', + 'updated_at' => '2018-10-11 08:46:41', + ), + 2 => + array ( + 'id' => 5, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Maximilian Seewald', + 'note' => NULL, + 'created_at' => '2018-10-11 14:46:26', + 'updated_at' => '2018-10-11 14:46:26', + ), + 3 => + array ( + 'id' => 6, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Maj-Brit Strobel', + 'note' => NULL, + 'created_at' => '2018-10-11 14:48:19', + 'updated_at' => '2018-10-11 14:48:19', + ), + 4 => + array ( + 'id' => 7, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Julia Schütze', + 'note' => NULL, + 'created_at' => '2018-10-11 14:49:41', + 'updated_at' => '2018-10-11 14:49:41', + ), + 5 => + array ( + 'id' => 8, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Pantea Salehani', + 'note' => NULL, + 'created_at' => '2018-10-11 14:50:26', + 'updated_at' => '2018-10-11 14:50:26', + ), + 6 => + array ( + 'id' => 9, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Corinna Weingärtner', + 'note' => NULL, + 'created_at' => '2018-10-11 15:09:58', + 'updated_at' => '2018-10-11 15:09:58', + ), + 7 => + array ( + 'id' => 10, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Sophia Lorenz', + 'note' => NULL, + 'created_at' => '2018-10-11 15:11:35', + 'updated_at' => '2018-10-11 15:11:35', + ), + 8 => + array ( + 'id' => 11, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Ann-Katrin Lorenz', + 'note' => NULL, + 'created_at' => '2018-10-11 15:12:41', + 'updated_at' => '2018-10-11 15:12:41', + ), + 9 => + array ( + 'id' => 12, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Anja Hug', + 'note' => NULL, + 'created_at' => '2018-10-11 15:16:42', + 'updated_at' => '2018-10-11 15:16:42', + ), + 10 => + array ( + 'id' => 13, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Sara Schlatter', + 'note' => NULL, + 'created_at' => '2018-10-11 15:17:19', + 'updated_at' => '2018-10-11 15:17:19', + ), + 11 => + array ( + 'id' => 14, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Philipp Schächtele', + 'note' => NULL, + 'created_at' => '2018-10-11 15:24:12', + 'updated_at' => '2018-10-11 15:24:12', + ), + 12 => + array ( + 'id' => 15, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Manuel Gyarmati-Buchmüller', + 'note' => NULL, + 'created_at' => '2018-10-11 15:25:08', + 'updated_at' => '2018-10-11 15:25:08', + ), + 13 => + array ( + 'id' => 16, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Niklas Gilsdorf', + 'note' => NULL, + 'created_at' => '2018-10-11 15:26:36', + 'updated_at' => '2018-10-11 15:26:36', + ), + 14 => + array ( + 'id' => 17, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Stefanie Hackstein', + 'note' => NULL, + 'created_at' => '2018-10-12 07:47:01', + 'updated_at' => '2018-10-12 07:47:01', + ), + 15 => + array ( + 'id' => 18, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Benedikt Link', + 'note' => NULL, + 'created_at' => '2018-10-12 07:47:41', + 'updated_at' => '2018-10-12 07:47:41', + ), + 16 => + array ( + 'id' => 19, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Johannes Rudolph', + 'note' => NULL, + 'created_at' => '2018-10-12 07:48:52', + 'updated_at' => '2018-10-12 07:48:52', + ), + 17 => + array ( + 'id' => 20, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-06-30', + 'person_or_company' => 'Lisa Schmiedeshoff', + 'note' => NULL, + 'created_at' => '2018-10-12 07:49:42', + 'updated_at' => '2018-10-12 07:49:42', + ), + 18 => + array ( + 'id' => 21, + 'reference' => 'Auslagenersatz Stimm.Punkt Miete', + 'date' => '2014-07-02', + 'person_or_company' => 'Maj-Brit Strobel', + 'note' => NULL, + 'created_at' => '2018-10-12 08:26:29', + 'updated_at' => '2018-10-12 08:26:29', + ), + 19 => + array ( + 'id' => 22, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-07-14', + 'person_or_company' => 'Inna Kwieczinsky', + 'note' => NULL, + 'created_at' => '2018-10-12 08:28:33', + 'updated_at' => '2018-10-12 08:28:33', + ), + 20 => + array ( + 'id' => 23, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-07-14', + 'person_or_company' => 'Jasmin Essa', + 'note' => NULL, + 'created_at' => '2018-10-12 08:30:45', + 'updated_at' => '2018-10-12 08:30:45', + ), + 21 => + array ( + 'id' => 24, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-07-14', + 'person_or_company' => 'Fabian Gyarmati-Buchmüller', + 'note' => NULL, + 'created_at' => '2018-10-12 08:31:31', + 'updated_at' => '2018-10-12 08:31:31', + ), + 22 => + array ( + 'id' => 25, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-07-14', + 'person_or_company' => 'Jonas Thiem', + 'note' => NULL, + 'created_at' => '2018-10-12 08:33:26', + 'updated_at' => '2018-10-12 08:33:26', + ), + 23 => + array ( + 'id' => 26, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'date' => '2014-07-14', + 'person_or_company' => 'Lisa Gollin', + 'note' => NULL, + 'created_at' => '2018-10-12 08:34:47', + 'updated_at' => '2018-10-12 08:34:47', + ), + 24 => + array ( + 'id' => 27, + 'reference' => 'Geldkassette', + 'date' => '2014-07-15', + 'person_or_company' => 'Müller Freiburg', + 'note' => NULL, + 'created_at' => '2018-10-12 08:35:37', + 'updated_at' => '2018-10-12 08:35:37', + ), + 25 => + array ( + 'id' => 28, + 'reference' => 'Hütte SoSe 2014 Div. Lebensmittel', + 'date' => '2014-07-18', + 'person_or_company' => '-', + 'note' => NULL, + 'created_at' => '2018-10-12 09:18:02', + 'updated_at' => '2018-10-12 09:18:02', + ), + )); + + + } +} \ No newline at end of file diff --git a/database/seeds/data/real/DataSeeder.php b/database/seeds/data/real/DataSeeder.php index 6c36c57..f2ed332 100644 --- a/database/seeds/data/real/DataSeeder.php +++ b/database/seeds/data/real/DataSeeder.php @@ -11,6 +11,13 @@ class DataSeeder extends Seeder */ public function run() { - // + $this->call([ + BookingsTableSeeder::class, + PeopleTableSeeder::class, + PersonTargetsTableSeeder::class, + ProjectsTableSeeder::class, + SubBookingsTableSeeder::class, + MemberStatesTableSeeder::class + ]); } } diff --git a/database/seeds/data/real/MemberStatesTableSeeder.php b/database/seeds/data/real/MemberStatesTableSeeder.php new file mode 100644 index 0000000..5a12245 --- /dev/null +++ b/database/seeds/data/real/MemberStatesTableSeeder.php @@ -0,0 +1,312 @@ +delete(); + + \DB::table('member_states')->insert(array ( + 0 => + array ( + 'id' => 1, + 'person_id' => 1, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 08:32:27', + 'updated_at' => '2018-10-11 08:32:27', + ), + 1 => + array ( + 'id' => 2, + 'person_id' => 2, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 13:50:10', + 'updated_at' => '2018-10-11 13:50:10', + ), + 2 => + array ( + 'id' => 3, + 'person_id' => 3, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 13:57:37', + 'updated_at' => '2018-10-11 13:57:37', + ), + 3 => + array ( + 'id' => 4, + 'person_id' => 4, + 'joining_date' => '2014-10-20', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 13:59:22', + 'updated_at' => '2018-10-11 13:59:22', + ), + 4 => + array ( + 'id' => 5, + 'person_id' => 5, + 'joining_date' => '2014-10-20', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:01:28', + 'updated_at' => '2018-10-11 14:01:28', + ), + 5 => + array ( + 'id' => 6, + 'person_id' => 6, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:19:56', + 'updated_at' => '2018-10-11 14:19:56', + ), + 6 => + array ( + 'id' => 7, + 'person_id' => 8, + 'joining_date' => '2014-10-27', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:23:05', + 'updated_at' => '2018-10-11 14:23:05', + ), + 7 => + array ( + 'id' => 8, + 'person_id' => 10, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:34:16', + 'updated_at' => '2018-10-11 14:34:16', + ), + 8 => + array ( + 'id' => 9, + 'person_id' => 13, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:35:54', + 'updated_at' => '2018-10-11 14:35:54', + ), + 9 => + array ( + 'id' => 10, + 'person_id' => 14, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:36:59', + 'updated_at' => '2018-10-11 14:36:59', + ), + 10 => + array ( + 'id' => 11, + 'person_id' => 15, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:37:58', + 'updated_at' => '2018-10-11 14:37:58', + ), + 11 => + array ( + 'id' => 12, + 'person_id' => 16, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 14:38:57', + 'updated_at' => '2018-10-11 14:38:57', + ), + 12 => + array ( + 'id' => 13, + 'person_id' => 18, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-11 15:14:10', + 'updated_at' => '2018-10-11 15:14:10', + ), + 13 => + array ( + 'id' => 14, + 'person_id' => 19, + 'joining_date' => '2016-03-07', + 'leaving_date' => '2018-08-31', + 'created_at' => '2018-10-12 07:56:41', + 'updated_at' => '2018-10-12 07:56:41', + ), + 14 => + array ( + 'id' => 15, + 'person_id' => 21, + 'joining_date' => '2017-05-08', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 07:58:55', + 'updated_at' => '2018-10-12 07:58:55', + ), + 15 => + array ( + 'id' => 16, + 'person_id' => 22, + 'joining_date' => '2017-12-04', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:00:10', + 'updated_at' => '2018-10-12 08:00:10', + ), + 16 => + array ( + 'id' => 17, + 'person_id' => 26, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:02:56', + 'updated_at' => '2018-10-12 08:02:56', + ), + 17 => + array ( + 'id' => 18, + 'person_id' => 27, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:03:52', + 'updated_at' => '2018-10-12 08:03:52', + ), + 18 => + array ( + 'id' => 19, + 'person_id' => 28, + 'joining_date' => '2015-12-08', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:04:36', + 'updated_at' => '2018-10-12 08:04:36', + ), + 19 => + array ( + 'id' => 20, + 'person_id' => 29, + 'joining_date' => '2016-03-14', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:05:43', + 'updated_at' => '2018-10-12 08:05:43', + ), + 20 => + array ( + 'id' => 21, + 'person_id' => 30, + 'joining_date' => '2015-01-12', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:06:44', + 'updated_at' => '2018-10-12 08:06:44', + ), + 21 => + array ( + 'id' => 22, + 'person_id' => 31, + 'joining_date' => '2014-12-01', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:07:39', + 'updated_at' => '2018-10-12 08:07:39', + ), + 22 => + array ( + 'id' => 23, + 'person_id' => 32, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:08:27', + 'updated_at' => '2018-10-12 08:08:27', + ), + 23 => + array ( + 'id' => 24, + 'person_id' => 33, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:09:17', + 'updated_at' => '2018-10-12 08:09:17', + ), + 24 => + array ( + 'id' => 25, + 'person_id' => 35, + 'joining_date' => '2015-11-02', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:10:57', + 'updated_at' => '2018-10-12 08:10:57', + ), + 25 => + array ( + 'id' => 26, + 'person_id' => 37, + 'joining_date' => '2017-04-20', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:12:38', + 'updated_at' => '2018-10-12 08:12:38', + ), + 26 => + array ( + 'id' => 27, + 'person_id' => 38, + 'joining_date' => '2014-11-10', + 'leaving_date' => '2018-02-28', + 'created_at' => '2018-10-12 08:14:35', + 'updated_at' => '2018-10-12 08:14:35', + ), + 27 => + array ( + 'id' => 28, + 'person_id' => 39, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:16:00', + 'updated_at' => '2018-10-12 08:16:00', + ), + 28 => + array ( + 'id' => 29, + 'person_id' => 40, + 'joining_date' => '2014-09-22', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:17:02', + 'updated_at' => '2018-10-12 08:17:02', + ), + 29 => + array ( + 'id' => 30, + 'person_id' => 42, + 'joining_date' => '2017-05-08', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:18:44', + 'updated_at' => '2018-10-12 08:18:44', + ), + 30 => + array ( + 'id' => 31, + 'person_id' => 43, + 'joining_date' => '2016-03-07', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:19:28', + 'updated_at' => '2018-10-12 08:19:28', + ), + 31 => + array ( + 'id' => 32, + 'person_id' => 46, + 'joining_date' => '2014-11-03', + 'leaving_date' => NULL, + 'created_at' => '2018-10-12 08:21:29', + 'updated_at' => '2018-10-12 08:21:29', + ), + )); + + + } +} \ No newline at end of file diff --git a/database/seeds/data/real/PeopleTableSeeder.php b/database/seeds/data/real/PeopleTableSeeder.php new file mode 100644 index 0000000..32c8db8 --- /dev/null +++ b/database/seeds/data/real/PeopleTableSeeder.php @@ -0,0 +1,824 @@ +delete(); + + \DB::table('people')->insert(array ( + 0 => + array ( + 'id' => 1, + 'title' => 'Herr', + 'name_or_company' => 'Halbritter', + 'surname' => 'Lukas', + 'date_of_birth' => '1993-05-27', + 'city' => 'Freiburg', + 'street' => 'Stefan-Meier-Straße 63', + 'postal_code' => '79104', + 'email' => 'halbi93@gmx.de', + 'mobile' => '0174 / 78 14 6 97', + 'phone' => NULL, + 'created_at' => '2018-10-11 08:32:27', + 'updated_at' => '2018-10-11 14:32:48', + ), + 1 => + array ( + 'id' => 2, + 'title' => 'Frau', + 'name_or_company' => 'Strobel', + 'surname' => 'Maj-Brit', + 'date_of_birth' => '1992-01-14', + 'city' => 'Freiburg', + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'majbrit.strobel@googlemail.com', + 'mobile' => '0163 / 19 77 4 72', + 'phone' => NULL, + 'created_at' => '2018-10-11 13:50:10', + 'updated_at' => '2018-10-11 13:50:10', + ), + 2 => + array ( + 'id' => 3, + 'title' => 'Herr', + 'name_or_company' => 'Seewald', + 'surname' => 'Maximilian', + 'date_of_birth' => '1993-01-06', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'masee@gmx.de', + 'mobile' => '0163 / 44 51 7 81', + 'phone' => NULL, + 'created_at' => '2018-10-11 13:57:37', + 'updated_at' => '2018-10-11 13:57:37', + ), + 3 => + array ( + 'id' => 4, + 'title' => 'Frau', + 'name_or_company' => 'Schütze', + 'surname' => 'Julia', + 'date_of_birth' => '1993-10-16', + 'city' => 'Freiburg', + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'julia.schuetze@web.de', + 'mobile' => '0173 / 67 01 3 78', + 'phone' => NULL, + 'created_at' => '2018-10-11 13:59:22', + 'updated_at' => '2018-10-11 13:59:22', + ), + 4 => + array ( + 'id' => 5, + 'title' => 'Frau', + 'name_or_company' => 'Salehani', + 'surname' => 'Pantea', + 'date_of_birth' => '1991-05-08', + 'city' => 'Freiburg', + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'pantea_salehani@yahoo.com', + 'mobile' => '0178 / 19 02 3 27', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:01:28', + 'updated_at' => '2018-10-11 14:14:43', + ), + 5 => + array ( + 'id' => 6, + 'title' => 'Frau', + 'name_or_company' => 'Weingärtner', + 'surname' => 'Corinna', + 'date_of_birth' => '1987-12-22', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'cocoles87@gmail.com', + 'mobile' => '0160 / 98 53 53 78', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:16:02', + 'updated_at' => '2018-10-11 14:16:02', + ), + 6 => + array ( + 'id' => 8, + 'title' => 'Frau', + 'name_or_company' => 'Lorenz', + 'surname' => 'Sophia', + 'date_of_birth' => '1991-10-06', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'sophia.lorenz@web.de', + 'mobile' => '0176 / 72 82 11 38', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:23:05', + 'updated_at' => '2018-10-11 14:23:05', + ), + 7 => + array ( + 'id' => 9, + 'title' => 'Frau', + 'name_or_company' => 'Lorenz', + 'surname' => 'Ann-Katrin', + 'date_of_birth' => NULL, + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => NULL, + 'mobile' => NULL, + 'phone' => NULL, + 'created_at' => '2018-10-11 14:26:05', + 'updated_at' => '2018-10-11 14:27:44', + ), + 8 => + array ( + 'id' => 10, + 'title' => 'Frau', + 'name_or_company' => 'Hug', + 'surname' => 'Anja', + 'date_of_birth' => '1989-08-08', + 'city' => 'Freiburg', + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'anja_hug@web.de', + 'mobile' => '0151 / 40 30 52 64', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:27:23', + 'updated_at' => '2018-10-11 14:34:16', + ), + 9 => + array ( + 'id' => 11, + 'title' => 'Frau', + 'name_or_company' => 'Schlatter', + 'surname' => 'Sara', + 'date_of_birth' => NULL, + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => NULL, + 'mobile' => NULL, + 'phone' => NULL, + 'created_at' => '2018-10-11 14:34:31', + 'updated_at' => '2018-10-11 14:34:31', + ), + 10 => + array ( + 'id' => 12, + 'title' => 'Herr', + 'name_or_company' => 'Schächtele', + 'surname' => 'Philipp', + 'date_of_birth' => NULL, + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => NULL, + 'mobile' => NULL, + 'phone' => NULL, + 'created_at' => '2018-10-11 14:35:06', + 'updated_at' => '2018-10-11 14:35:06', + ), + 11 => + array ( + 'id' => 13, + 'title' => 'Herr', + 'name_or_company' => 'Gyarmati-Buchmüller', + 'surname' => 'Manuel', + 'date_of_birth' => '1988-09-14', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'manuel.buchmuller@gmail.com', + 'mobile' => '0151 / 56 16 22 72', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:35:54', + 'updated_at' => '2018-10-11 14:35:54', + ), + 12 => + array ( + 'id' => 14, + 'title' => 'Herr', + 'name_or_company' => 'Gilsdorf', + 'surname' => 'Niklas', + 'date_of_birth' => '1985-03-24', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'niklas.gilsdorf@gmail.com', + 'mobile' => '0179 / 87 25 2 35', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:36:59', + 'updated_at' => '2018-10-11 14:36:59', + ), + 13 => + array ( + 'id' => 15, + 'title' => 'Frau', + 'name_or_company' => 'Hackstein', + 'surname' => 'Stefanie', + 'date_of_birth' => '1988-07-28', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'steffihackstein@gmail.com', + 'mobile' => '0162 / 46 15 6 55', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:37:58', + 'updated_at' => '2018-10-11 14:37:58', + ), + 14 => + array ( + 'id' => 16, + 'title' => 'Herr', + 'name_or_company' => 'Link', + 'surname' => 'Benedikt', + 'date_of_birth' => '1982-04-04', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'benediktlink@gmx.de', + 'mobile' => '0176 / 41 55 56 91', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:38:57', + 'updated_at' => '2018-10-11 14:38:57', + ), + 15 => + array ( + 'id' => 17, + 'title' => 'Herr', + 'name_or_company' => 'Rudolph', + 'surname' => 'Johannes', + 'date_of_birth' => '1982-06-08', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'johannes.rudolph@gmail.com', + 'mobile' => '0170 / 75 42 9 28', + 'phone' => NULL, + 'created_at' => '2018-10-11 14:40:06', + 'updated_at' => '2018-10-11 14:40:06', + ), + 16 => + array ( + 'id' => 18, + 'title' => 'Frau', + 'name_or_company' => 'Schmiedeshoff', + 'surname' => 'Lisa', + 'date_of_birth' => '1991-05-29', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'lisa.chile@yahoo.de', + 'mobile' => '0157 / 75309237', + 'phone' => NULL, + 'created_at' => '2018-10-11 15:14:10', + 'updated_at' => '2018-10-11 15:14:10', + ), + 17 => + array ( + 'id' => 19, + 'title' => 'Herr', + 'name_or_company' => 'Albrecht', + 'surname' => 'Fabian', + 'date_of_birth' => '1992-05-07', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'fabialbrecht92@googlemail.com', + 'mobile' => '0171 / 26 20 5 97', + 'phone' => NULL, + 'created_at' => '2018-10-12 07:56:41', + 'updated_at' => '2018-10-12 07:56:41', + ), + 18 => + array ( + 'id' => 20, + 'title' => 'Herr', + 'name_or_company' => 'Burke', + 'surname' => 'Daniel', + 'date_of_birth' => '1990-06-29', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'daniel.burke@web.de', + 'mobile' => '0176 / 98 67 71 67', + 'phone' => NULL, + 'created_at' => '2018-10-12 07:57:54', + 'updated_at' => '2018-10-12 07:57:54', + ), + 19 => + array ( + 'id' => 21, + 'title' => 'Frau', + 'name_or_company' => 'Chazarenc', + 'surname' => 'Rebecca', + 'date_of_birth' => '1996-09-05', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'jurechazarenc@t-online.de', + 'mobile' => '0157 / 32 29 48 72', + 'phone' => NULL, + 'created_at' => '2018-10-12 07:58:55', + 'updated_at' => '2018-10-12 07:58:55', + ), + 20 => + array ( + 'id' => 22, + 'title' => 'Herr', + 'name_or_company' => 'Damian', + 'surname' => 'Thomas', + 'date_of_birth' => '1986-02-06', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'post@thomasdamian.de', + 'mobile' => '0179 / 76 38 5 24', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:00:10', + 'updated_at' => '2018-10-12 08:00:10', + ), + 21 => + array ( + 'id' => 23, + 'title' => 'Frau', + 'name_or_company' => 'Dietzenschmidt', + 'surname' => 'Maren', + 'date_of_birth' => '1990-08-17', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'maren.braun178@gmail.com', + 'mobile' => '0176 / 66 18 22 79', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:00:47', + 'updated_at' => '2018-10-12 08:00:47', + ), + 22 => + array ( + 'id' => 24, + 'title' => 'Frau', + 'name_or_company' => 'Dold', + 'surname' => 'Sandra', + 'date_of_birth' => '1989-03-05', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'sandra.dold@gmail.com', + 'mobile' => '0176 / 61 59 99 10', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:01:27', + 'updated_at' => '2018-10-12 08:01:27', + ), + 23 => + array ( + 'id' => 25, + 'title' => 'Frau', + 'name_or_company' => 'Glissmann', + 'surname' => 'Aline', + 'date_of_birth' => '1993-12-12', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'a-glissmann@gmx.de', + 'mobile' => '0160 / 68 12 5 60', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:02:05', + 'updated_at' => '2018-10-12 08:02:05', + ), + 24 => + array ( + 'id' => 26, + 'title' => 'Frau', + 'name_or_company' => 'Gollin', + 'surname' => 'Lisa', + 'date_of_birth' => '1982-05-17', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'lisa.gollin@yahoo.de', + 'mobile' => '0176 / 96 83 59 57', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:02:56', + 'updated_at' => '2018-10-12 08:02:56', + ), + 25 => + array ( + 'id' => 27, + 'title' => 'Herr', + 'name_or_company' => 'Gyarmati-Buchmüller', + 'surname' => 'Fabian', + 'date_of_birth' => '1990-08-28', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'fabianbuchmueller@gmail.com', + 'mobile' => '0173 / 52 25 5 56', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:03:52', + 'updated_at' => '2018-10-12 08:03:52', + ), + 26 => + array ( + 'id' => 28, + 'title' => 'Herr', + 'name_or_company' => 'Heister', + 'surname' => 'Thomas', + 'date_of_birth' => '1988-04-25', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'thomasheister@web.de', + 'mobile' => '0171 / 54 42 1 61', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:04:36', + 'updated_at' => '2018-10-12 08:04:36', + ), + 27 => + array ( + 'id' => 29, + 'title' => 'Herr', + 'name_or_company' => 'Jakob', + 'surname' => 'Björn', + 'date_of_birth' => '1985-08-03', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'info@jc-musicmanagement.de', + 'mobile' => '0176 / 27 69 07 01', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:05:43', + 'updated_at' => '2018-10-12 08:05:43', + ), + 28 => + array ( + 'id' => 30, + 'title' => 'Frau', + 'name_or_company' => 'Kirschbauer', + 'surname' => 'Kristina', + 'date_of_birth' => '1988-03-16', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'k.kirschbauer@posteo.de', + 'mobile' => '0176 / 62 43 48 16', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:06:44', + 'updated_at' => '2018-10-12 08:06:44', + ), + 29 => + array ( + 'id' => 31, + 'title' => 'Frau', + 'name_or_company' => 'Klüppelholz', + 'surname' => 'Sara', + 'date_of_birth' => '1988-09-01', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'sara.klueppelholz@gmx.de', + 'mobile' => '0176 / 71 76 68 76', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:07:39', + 'updated_at' => '2018-10-12 08:07:39', + ), + 30 => + array ( + 'id' => 32, + 'title' => 'Frau', + 'name_or_company' => 'Krickel', + 'surname' => 'Elisa', + 'date_of_birth' => '1990-08-06', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'el.isa68@yahoo.de', + 'mobile' => '0172 / 8240152', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:08:27', + 'updated_at' => '2018-10-12 08:08:27', + ), + 31 => + array ( + 'id' => 33, + 'title' => 'Frau', + 'name_or_company' => 'Küpper', + 'surname' => 'Mirjam', + 'date_of_birth' => '1992-05-20', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'mailtomirjam@web.de', + 'mobile' => '0178 / 63 15 7 24', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:09:17', + 'updated_at' => '2018-10-12 08:09:17', + ), + 32 => + array ( + 'id' => 34, + 'title' => 'Herr', + 'name_or_company' => 'Messerschmidt', + 'surname' => 'Johannes', + 'date_of_birth' => '1991-07-17', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'joh.m@web.de', + 'mobile' => '0151 / 52 25 03 22', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:10:03', + 'updated_at' => '2018-10-12 08:10:03', + ), + 33 => + array ( + 'id' => 35, + 'title' => 'Frau', + 'name_or_company' => 'Meyer', + 'surname' => 'Theresa', + 'date_of_birth' => '1991-03-22', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'th_meyer91@web.de', + 'mobile' => '0176 / 55 14 31 00', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:10:57', + 'updated_at' => '2018-10-12 08:10:57', + ), + 34 => + array ( + 'id' => 36, + 'title' => 'Herr', + 'name_or_company' => 'Mühler', + 'surname' => 'Florian', + 'date_of_birth' => '1980-12-20', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'fmuehler@gmail.com', + 'mobile' => '0157 / 58 39 57 52', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:11:53', + 'updated_at' => '2018-10-12 08:11:53', + ), + 35 => + array ( + 'id' => 37, + 'title' => 'Frau', + 'name_or_company' => 'Nestlen', + 'surname' => 'Julia', + 'date_of_birth' => '1993-09-28', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'julianestlen@gmail.com', + 'mobile' => '0157 / 73 30 39 31', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:12:38', + 'updated_at' => '2018-10-12 08:12:38', + ), + 36 => + array ( + 'id' => 38, + 'title' => 'Frau', + 'name_or_company' => 'Özbek', + 'surname' => 'Beatrice', + 'date_of_birth' => '1991-03-20', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'beatrice@oezi.de', + 'mobile' => '0176 / 38 95 8 21', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:14:35', + 'updated_at' => '2018-10-12 08:14:35', + ), + 37 => + array ( + 'id' => 39, + 'title' => 'Herr', + 'name_or_company' => 'Papathanassopoulos', + 'surname' => 'Alexis', + 'date_of_birth' => '1984-10-15', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'alexispap@yahoo.de', + 'mobile' => '0179 / 89 88 7 85', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:16:00', + 'updated_at' => '2018-10-12 08:16:00', + ), + 38 => + array ( + 'id' => 40, + 'title' => 'Herr', + 'name_or_company' => 'Prüske', + 'surname' => 'Joschka', + 'date_of_birth' => '1984-03-19', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'prueske-j@gmx.de', + 'mobile' => '0151 / 42 88 81 82', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:17:02', + 'updated_at' => '2018-10-12 08:17:02', + ), + 39 => + array ( + 'id' => 41, + 'title' => 'Frau', + 'name_or_company' => 'Schächtele', + 'surname' => 'Jasmin', + 'date_of_birth' => '1989-07-26', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'jasmin.schaechtele@gmail.com', + 'mobile' => '0176 / 32 34 55 71', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:17:50', + 'updated_at' => '2018-10-12 08:17:50', + ), + 40 => + array ( + 'id' => 42, + 'title' => 'Frau', + 'name_or_company' => 'Scherer', + 'surname' => 'Katharina', + 'date_of_birth' => '1987-10-12', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'scherer.katharina@gmx.net', + 'mobile' => '0173 / 91 78 3 10', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:18:44', + 'updated_at' => '2018-10-12 08:18:44', + ), + 41 => + array ( + 'id' => 43, + 'title' => 'Herr', + 'name_or_company' => 'Schütz', + 'surname' => 'Michael', + 'date_of_birth' => '1989-01-05', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'm.schuetz89@gmail.com', + 'mobile' => '0173 / 17 30 1 91', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:19:27', + 'updated_at' => '2018-10-12 08:19:27', + ), + 42 => + array ( + 'id' => 44, + 'title' => 'Herr', + 'name_or_company' => 'Triebel', + 'surname' => 'Marc-André', + 'date_of_birth' => '1990-02-22', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'marc-andre.triebel@web.de', + 'mobile' => '0170 / 35 40 6 43', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:20:08', + 'updated_at' => '2018-10-12 08:20:08', + ), + 43 => + array ( + 'id' => 45, + 'title' => 'Frau', + 'name_or_company' => 'Wilms', + 'surname' => 'Juliane', + 'date_of_birth' => '1990-05-11', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'julianee@posteo.de', + 'mobile' => '0151 / 15 76 17 70', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:20:44', + 'updated_at' => '2018-10-12 08:20:44', + ), + 44 => + array ( + 'id' => 46, + 'title' => 'Frau', + 'name_or_company' => 'Zimny', + 'surname' => 'Hanna', + 'date_of_birth' => '1990-02-03', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'hanna.zimny@gmail.com', + 'mobile' => '0176 / 32 64 56 23', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:21:29', + 'updated_at' => '2018-10-12 08:21:29', + ), + 45 => + array ( + 'id' => 47, + 'title' => 'Herr', + 'name_or_company' => 'Zintel', + 'surname' => 'Timon', + 'date_of_birth' => '1981-11-06', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'timon.zintel@arcor.de', + 'mobile' => '0176 / 80 08 58 52', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:22:08', + 'updated_at' => '2018-10-12 08:22:08', + ), + 46 => + array ( + 'id' => 48, + 'title' => 'Frau', + 'name_or_company' => 'Zörlein', + 'surname' => 'Anna', + 'date_of_birth' => '1992-07-18', + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => 'anna.zoerlein@gmail.com', + 'mobile' => '0176 / 57 68 72 41', + 'phone' => NULL, + 'created_at' => '2018-10-12 08:22:49', + 'updated_at' => '2018-10-12 08:22:49', + ), + 47 => + array ( + 'id' => 49, + 'title' => 'Frau', + 'name_or_company' => 'Kwiecinsky', + 'surname' => 'Inna', + 'date_of_birth' => NULL, + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => NULL, + 'mobile' => NULL, + 'phone' => NULL, + 'created_at' => '2018-10-12 08:27:38', + 'updated_at' => '2018-10-12 08:27:38', + ), + 48 => + array ( + 'id' => 50, + 'title' => 'Frau', + 'name_or_company' => 'Essa', + 'surname' => 'Jasmin', + 'date_of_birth' => NULL, + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => NULL, + 'mobile' => NULL, + 'phone' => NULL, + 'created_at' => '2018-10-12 08:29:04', + 'updated_at' => '2018-10-12 08:29:04', + ), + 49 => + array ( + 'id' => 51, + 'title' => 'Herr', + 'name_or_company' => 'Thiem', + 'surname' => 'Jonas', + 'date_of_birth' => NULL, + 'city' => NULL, + 'street' => NULL, + 'postal_code' => NULL, + 'email' => NULL, + 'mobile' => NULL, + 'phone' => NULL, + 'created_at' => '2018-10-12 08:29:47', + 'updated_at' => '2018-10-12 08:29:47', + ), + )); + + + } +} \ No newline at end of file diff --git a/database/seeds/data/real/PersonTargetsTableSeeder.php b/database/seeds/data/real/PersonTargetsTableSeeder.php new file mode 100644 index 0000000..bfa70f8 --- /dev/null +++ b/database/seeds/data/real/PersonTargetsTableSeeder.php @@ -0,0 +1,277 @@ +delete(); + + \DB::table('person_targets')->insert(array ( + 0 => + array ( + 'id' => 1, + 'person_id' => 1, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 08:36:03', + 'updated_at' => '2018-10-11 08:36:03', + ), + 1 => + array ( + 'id' => 2, + 'person_id' => 3, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 14:46:26', + 'updated_at' => '2018-10-11 14:46:26', + ), + 2 => + array ( + 'id' => 3, + 'person_id' => 2, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 14:48:19', + 'updated_at' => '2018-10-11 14:48:19', + ), + 3 => + array ( + 'id' => 4, + 'person_id' => 4, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 14:49:41', + 'updated_at' => '2018-10-11 14:49:41', + ), + 4 => + array ( + 'id' => 5, + 'person_id' => 5, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 14:50:26', + 'updated_at' => '2018-10-11 14:50:26', + ), + 5 => + array ( + 'id' => 6, + 'person_id' => 6, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:09:58', + 'updated_at' => '2018-10-11 15:09:58', + ), + 6 => + array ( + 'id' => 7, + 'person_id' => 8, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:11:35', + 'updated_at' => '2018-10-11 15:11:35', + ), + 7 => + array ( + 'id' => 8, + 'person_id' => 9, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:12:41', + 'updated_at' => '2018-10-11 15:12:41', + ), + 8 => + array ( + 'id' => 9, + 'person_id' => 10, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:16:42', + 'updated_at' => '2018-10-11 15:16:42', + ), + 9 => + array ( + 'id' => 10, + 'person_id' => 11, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:17:19', + 'updated_at' => '2018-10-11 15:17:19', + ), + 10 => + array ( + 'id' => 11, + 'person_id' => 12, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:24:12', + 'updated_at' => '2018-10-11 15:24:12', + ), + 11 => + array ( + 'id' => 12, + 'person_id' => 13, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:25:08', + 'updated_at' => '2018-10-11 15:25:08', + ), + 12 => + array ( + 'id' => 13, + 'person_id' => 14, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-11 15:26:36', + 'updated_at' => '2018-10-11 15:26:36', + ), + 13 => + array ( + 'id' => 14, + 'person_id' => 15, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 07:47:01', + 'updated_at' => '2018-10-12 07:47:01', + ), + 14 => + array ( + 'id' => 15, + 'person_id' => 16, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 07:47:41', + 'updated_at' => '2018-10-12 07:47:41', + ), + 15 => + array ( + 'id' => 16, + 'person_id' => 17, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 07:48:52', + 'updated_at' => '2018-10-12 07:48:52', + ), + 16 => + array ( + 'id' => 17, + 'person_id' => 18, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 07:49:42', + 'updated_at' => '2018-10-12 07:49:42', + ), + 17 => + array ( + 'id' => 18, + 'person_id' => 2, + 'date' => '2014-03-13', + 'amount' => 42.5, + 'io_type_id' => 2, + 'reference' => 'Auslagenersatz Stimm.Punkt Miete', + 'created_at' => '2018-10-12 08:26:29', + 'updated_at' => '2018-10-12 08:26:29', + ), + 18 => + array ( + 'id' => 19, + 'person_id' => 49, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 08:28:33', + 'updated_at' => '2018-10-12 08:28:33', + ), + 19 => + array ( + 'id' => 20, + 'person_id' => 50, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 08:30:45', + 'updated_at' => '2018-10-12 08:30:45', + ), + 20 => + array ( + 'id' => 21, + 'person_id' => 27, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 08:31:31', + 'updated_at' => '2018-10-12 08:31:31', + ), + 21 => + array ( + 'id' => 22, + 'person_id' => 51, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 08:33:26', + 'updated_at' => '2018-10-12 08:33:26', + ), + 22 => + array ( + 'id' => 23, + 'person_id' => 26, + 'date' => '2014-06-30', + 'amount' => 15.0, + 'io_type_id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'created_at' => '2018-10-12 08:34:47', + 'updated_at' => '2018-10-12 08:34:47', + ), + )); + + + } +} \ No newline at end of file diff --git a/database/seeds/data/real/ProjectsTableSeeder.php b/database/seeds/data/real/ProjectsTableSeeder.php new file mode 100644 index 0000000..fa7c3b1 --- /dev/null +++ b/database/seeds/data/real/ProjectsTableSeeder.php @@ -0,0 +1,123 @@ +delete(); + + \DB::table('projects')->insert(array ( + 0 => + array ( + 'id' => 1, + 'name' => 'Sommersemester 2014', + 'start_date' => '2014-03-01', + 'end_date' => '2014-08-31', + 'created_at' => '2018-10-11 08:34:16', + 'updated_at' => '2018-10-11 08:34:16', + ), + 1 => + array ( + 'id' => 2, + 'name' => 'Wintersemester 2014', + 'start_date' => '2014-09-01', + 'end_date' => '2015-02-28', + 'created_at' => '2018-10-11 15:18:01', + 'updated_at' => '2018-10-11 15:18:01', + ), + 2 => + array ( + 'id' => 3, + 'name' => 'Sommersemester 2015', + 'start_date' => '2015-03-01', + 'end_date' => '2015-08-31', + 'created_at' => '2018-10-11 15:18:41', + 'updated_at' => '2018-10-11 15:20:21', + ), + 3 => + array ( + 'id' => 4, + 'name' => 'Wintersemester 2015', + 'start_date' => '2015-09-01', + 'end_date' => '2016-02-29', + 'created_at' => '2018-10-11 15:19:43', + 'updated_at' => '2018-10-11 15:19:43', + ), + 4 => + array ( + 'id' => 5, + 'name' => 'Sommersemester 2016', + 'start_date' => '2016-03-01', + 'end_date' => '2016-08-31', + 'created_at' => '2018-10-11 15:20:05', + 'updated_at' => '2018-10-11 15:20:05', + ), + 5 => + array ( + 'id' => 6, + 'name' => 'Wintersemester 2016', + 'start_date' => '2016-09-01', + 'end_date' => '2017-02-28', + 'created_at' => '2018-10-11 15:21:02', + 'updated_at' => '2018-10-11 15:21:02', + ), + 6 => + array ( + 'id' => 7, + 'name' => 'Sommersemester 2017', + 'start_date' => '2017-03-01', + 'end_date' => '2017-08-31', + 'created_at' => '2018-10-11 15:21:32', + 'updated_at' => '2018-10-11 15:21:32', + ), + 7 => + array ( + 'id' => 8, + 'name' => 'Wintersemester 2017', + 'start_date' => '2017-09-01', + 'end_date' => '2018-02-28', + 'created_at' => '2018-10-11 15:22:02', + 'updated_at' => '2018-10-11 15:22:02', + ), + 8 => + array ( + 'id' => 9, + 'name' => 'Sommersemester 2018', + 'start_date' => '2018-03-01', + 'end_date' => '2018-08-31', + 'created_at' => '2018-10-11 15:22:47', + 'updated_at' => '2018-10-11 15:22:47', + ), + 9 => + array ( + 'id' => 10, + 'name' => 'Wintersemester 2018', + 'start_date' => '2018-09-01', + 'end_date' => '2019-02-28', + 'created_at' => '2018-10-11 15:23:05', + 'updated_at' => '2018-10-11 15:23:05', + ), + 10 => + array ( + 'id' => 11, + 'name' => 'Probenwochenende SoSe 2014', + 'start_date' => '2014-07-18', + 'end_date' => '2014-07-20', + 'created_at' => '2018-10-12 09:16:46', + 'updated_at' => '2018-10-12 09:16:46', + ), + )); + + + } +} \ No newline at end of file diff --git a/database/seeds/data/real/SubBookingsTableSeeder.php b/database/seeds/data/real/SubBookingsTableSeeder.php new file mode 100644 index 0000000..47f1f42 --- /dev/null +++ b/database/seeds/data/real/SubBookingsTableSeeder.php @@ -0,0 +1,336 @@ +delete(); + + \DB::table('sub_bookings')->insert(array ( + 0 => + array ( + 'id' => 1, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 1, + 'booking_id' => 1, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 08:36:03', + 'updated_at' => '2018-10-11 08:36:03', + ), + 1 => + array ( + 'id' => 2, + 'reference' => 'Auslagenersatz Büromaterial', + 'amount' => 11.75, + 'person_target_id' => NULL, + 'booking_id' => 3, + 'account_type_id' => 20, + 'project_id' => NULL, + 'created_at' => '2018-10-11 08:46:41', + 'updated_at' => '2018-10-11 08:46:41', + ), + 2 => + array ( + 'id' => 4, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 2, + 'booking_id' => 5, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 14:46:26', + 'updated_at' => '2018-10-11 14:46:26', + ), + 3 => + array ( + 'id' => 5, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 3, + 'booking_id' => 6, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 14:48:19', + 'updated_at' => '2018-10-11 14:48:19', + ), + 4 => + array ( + 'id' => 6, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 4, + 'booking_id' => 7, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 14:49:41', + 'updated_at' => '2018-10-11 14:49:41', + ), + 5 => + array ( + 'id' => 7, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 5, + 'booking_id' => 8, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 14:50:26', + 'updated_at' => '2018-10-11 14:50:26', + ), + 6 => + array ( + 'id' => 8, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 6, + 'booking_id' => 9, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:09:58', + 'updated_at' => '2018-10-11 15:09:58', + ), + 7 => + array ( + 'id' => 9, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 7, + 'booking_id' => 10, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:11:35', + 'updated_at' => '2018-10-11 15:11:35', + ), + 8 => + array ( + 'id' => 10, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 8, + 'booking_id' => 11, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:12:41', + 'updated_at' => '2018-10-11 15:12:41', + ), + 9 => + array ( + 'id' => 11, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 9, + 'booking_id' => 12, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:16:42', + 'updated_at' => '2018-10-11 15:16:42', + ), + 10 => + array ( + 'id' => 12, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 10, + 'booking_id' => 13, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:17:19', + 'updated_at' => '2018-10-11 15:17:19', + ), + 11 => + array ( + 'id' => 13, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 11, + 'booking_id' => 14, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:24:12', + 'updated_at' => '2018-10-11 15:24:12', + ), + 12 => + array ( + 'id' => 14, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 12, + 'booking_id' => 15, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:25:08', + 'updated_at' => '2018-10-11 15:25:08', + ), + 13 => + array ( + 'id' => 15, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 13, + 'booking_id' => 16, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-11 15:26:36', + 'updated_at' => '2018-10-11 15:26:36', + ), + 14 => + array ( + 'id' => 16, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 14, + 'booking_id' => 17, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 07:47:01', + 'updated_at' => '2018-10-12 07:47:01', + ), + 15 => + array ( + 'id' => 17, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 15, + 'booking_id' => 18, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 07:47:41', + 'updated_at' => '2018-10-12 07:49:01', + ), + 16 => + array ( + 'id' => 18, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 16, + 'booking_id' => 19, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 07:48:52', + 'updated_at' => '2018-10-12 07:48:52', + ), + 17 => + array ( + 'id' => 19, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 17, + 'booking_id' => 20, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 07:49:42', + 'updated_at' => '2018-10-12 07:49:42', + ), + 18 => + array ( + 'id' => 20, + 'reference' => 'Auslagenersatz Stimm.Punkt Miete', + 'amount' => 42.5, + 'person_target_id' => 18, + 'booking_id' => 21, + 'account_type_id' => 24, + 'project_id' => NULL, + 'created_at' => '2018-10-12 08:26:29', + 'updated_at' => '2018-10-12 08:26:29', + ), + 19 => + array ( + 'id' => 21, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 19, + 'booking_id' => 22, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 08:28:33', + 'updated_at' => '2018-10-12 08:28:33', + ), + 20 => + array ( + 'id' => 22, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 20, + 'booking_id' => 23, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 08:30:45', + 'updated_at' => '2018-10-12 08:30:45', + ), + 21 => + array ( + 'id' => 23, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 21, + 'booking_id' => 24, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 08:31:31', + 'updated_at' => '2018-10-12 08:31:31', + ), + 22 => + array ( + 'id' => 24, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 22, + 'booking_id' => 25, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 08:33:26', + 'updated_at' => '2018-10-12 08:33:26', + ), + 23 => + array ( + 'id' => 25, + 'reference' => 'Mitgliederbeitrag SoSe 2014', + 'amount' => 15.0, + 'person_target_id' => 23, + 'booking_id' => 26, + 'account_type_id' => 1, + 'project_id' => 1, + 'created_at' => '2018-10-12 08:34:47', + 'updated_at' => '2018-10-12 08:34:47', + ), + 24 => + array ( + 'id' => 26, + 'reference' => 'Geldkassette', + 'amount' => 11.99, + 'person_target_id' => NULL, + 'booking_id' => 27, + 'account_type_id' => 20, + 'project_id' => NULL, + 'created_at' => '2018-10-12 08:35:37', + 'updated_at' => '2018-10-12 08:35:37', + ), + 25 => + array ( + 'id' => 27, + 'reference' => 'Hütte SoSe 2014 Div. Lebensmittel', + 'amount' => 53.48, + 'person_target_id' => NULL, + 'booking_id' => 28, + 'account_type_id' => 31, + 'project_id' => 11, + 'created_at' => '2018-10-12 09:18:02', + 'updated_at' => '2018-10-12 09:18:02', + ), + )); + + + } +} \ No newline at end of file