/** * Run the database seeds. * * @return void */ public function run() { Module::insert(['name' => 'Punto 1', 'address' => 'Calle 100', 'district' => 'San Miguel', 'province' => 'Lima', 'state' => 'Lima', 'phone' => '214424214', 'email' => '*****@*****.**', 'initial_cash' => 100.0, 'actual_cash' => 0.0, 'openModule' => false, 'starTime' => Carbon::create(2011, 1, 1, 8, 0, 0), 'endTime' => Carbon::create(2011, 1, 1, 17, 0, 0), 'image' => 'images/examples/map1.PNG']); Module::insert(['name' => 'Punto 2', 'address' => 'Calle 200', 'district' => 'San Miguel', 'province' => 'Lima', 'state' => 'Lima', 'phone' => '567890123', 'email' => '*****@*****.**', 'initial_cash' => 200.0, 'actual_cash' => 0.0, 'openModule' => false, 'starTime' => Carbon::create(2011, 1, 1, 8, 0, 0), 'endTime' => Carbon::create(2011, 1, 1, 17, 0, 0), 'image' => 'images/examples/map1.PNG']); }