1
0
forked from s421507/eOSP2

Zakomentowanie jednostek i użytkowników

This commit is contained in:
Marcin Kuskiewicz 2020-02-01 10:48:59 +00:00
parent 9982e6fbb9
commit fadbfb6d2b

View File

@ -2914,7 +2914,7 @@ class DatabaseSeeder extends Seeder
DB::table('gminy')->insert([ 'id' => '1326201', 'wojewodztwo_id' => '1320000', 'powiat_id' => '1326200', 'name' => 'm. Szczecin' ]);
DB::table('gminy')->insert([ 'id' => '1326301', 'wojewodztwo_id' => '1320000', 'powiat_id' => '1326300', 'name' => 'm. Świnoujście' ]);
//jednostki
//DB::table('fireStations')->insert(['id'=>'1100','name'=>'Kębłowo','number'=>'1100','voivodeship'=>'wielkopolskie','county'=>'wolsztyński','community'=>'gm. Wolsztyn','postOffice'=>'Kębłowo','zipCode'=>'64223','address'=>'ul. Nowa 8a','latitude'=>'52.0485042','longitude'=>'16.1052983','KRS'=>'0000232331','NIP'=>'9231571641','phoneNumber'=>'501234567','email'=>'straz@keblowo.pl','deleted'=>'0','creatorID'=>'1101','changingID'=>'1101','remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
/*DB::table('fireStations')->insert(['id'=>'1100','name'=>'Kębłowo','number'=>'1100','voivodeship'=>'wielkopolskie','county'=>'wolsztyński','community'=>'gm. Wolsztyn','postOffice'=>'Kębłowo','zipCode'=>'64223','address'=>'ul. Nowa 8a','latitude'=>'52.0485042','longitude'=>'16.1052983','KRS'=>'0000232331','NIP'=>'9231571641','phoneNumber'=>'501234567','email'=>'straz@keblowo.pl','deleted'=>'0','creatorID'=>'1101','changingID'=>'1101','remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
DB::table('fireStations')->insert(['id'=>'1200','name'=>'Obra','number'=>'1200','voivodeship'=>'wielkopolskie','county'=>'wolsztyński','community'=>'gm. Wolsztyn','postOffice'=>'Obra','zipCode'=>'64211','address'=>'ul. Cmentarna 5a','latitude'=>'52.0768963','longitude'=>'16.0427013','KRS'=>'0000096776','NIP'=>'9231571629','phoneNumber'=>'501234567','email'=>'osp.obra@wp.pl','deleted'=>'0','creatorID'=>'1201','changingID'=>'1201','remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
//użytkownicy
DB::table('users')->insert(['id'=>'1101','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Szymon','surname'=>'Tomys','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'szymon.tomys@eosp.projektstudencki.pl','fireStationID'=>'1100','functionID'=>'1','degreeID'=>'1','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
@ -2927,6 +2927,7 @@ class DatabaseSeeder extends Seeder
DB::table('users')->insert(['id'=>'1203','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Michał Rogozinski','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'michal.rogozinski@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'3','degreeID'=>'3','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
DB::table('users')->insert(['id'=>'1204','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Lidia Kaczmarek','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'lidia.kaczmarek@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'4','degreeID'=>'4','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
DB::table('users')->insert(['id'=>'1205','password'=>'$2y$10$hSeo4pAvQLmV8KzQWoOEXuMEiN7dqOb4jEU80g.xsUS6W5.sh5I4m','name'=>'Michał Nowak','surname'=>'','PESEL'=>'74073147926','phoneNumber'=>'501234567','email'=>'michal.nowak@eosp.projektstudencki.pl','fireStationID'=>'1200','functionID'=>'5','degreeID'=>'5','number'=>'ABC123','statusID'=>'0','deleted'=>'0','creatorID'=>NULL,'changingID'=>NULL,'confirmed'=>'0','confirmation_code'=>NULL,'email_verified_at'=>NULL,'remember_token'=>NULL,'created_at'=>now(),'updated_at'=>now()]);
*/
//pojazdy
DB::table('vehicles')->insert(['id'=>'1101','fireStationID'=>'1100','name'=>'Peugeot Boxer','codename'=>'649P28','brand'=>'Peugeot','registrationNumber'=>'PWL37998','productionYear'=>'2017','examExpirationDate'=>'2020-12-31','insuranceExpirationDate'=>'2020-12-31','driveType'=>'4x2','chassisType'=>'Peugeot Boxer GLBA','bodyProducer'=>'IUVO CARS','crewNumber'=>'6','foamAgent'=>'20','enginePower'=>'163','mass'=>'3500','chassisNumber'=>'1ABCD23EFGH456789','engineNumber'=>'123456','fuelType'=>'diesel','chassisPoductionYear'=>'2017','entryIntoServiceDate'=>'2017-02-08','fireEnginePumpDescription'=>'motopompa','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now(),'status'=>'0']);
DB::table('vehicles')->insert(['id'=>'1102','fireStationID'=>'1100','name'=>'MAN','codename'=>'649P08','brand'=>'MAN','registrationNumber'=>'PWL32998','productionYear'=>'2016','examExpirationDate'=>'2020-12-31','insuranceExpirationDate'=>'2020-12-31','driveType'=>'4x4','chassisType'=>'MAN TGM 18.340 4x4','bodyProducer'=>'Stolarczyk','crewNumber'=>'6','foamAgent'=>'600','enginePower'=>'350','mass'=>'6000','chassisNumber'=>'1ABCD23EFGH456789','engineNumber'=>'123456','fuelType'=>'diesel','chassisPoductionYear'=>'2016','entryIntoServiceDate'=>'2016-02-16','fireEnginePumpDescription'=>'autopompa dwuzakresowa','deleted_at'=>NULL,'created_at'=>now(),'updated_at'=>now(),'status'=>'0']);