Added real data and a script to convert the data to a seeder.
This commit is contained in:
@@ -0,0 +1,336 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SubBookingsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('sub_bookings')->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',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user