2016-05-19 15:01:28 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class PlacesTableSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
DB::table('places')->insert([
|
|
|
|
'name' => 'The Bridgewater Pub',
|
|
|
|
'slug' => 'the-bridgewater-pub',
|
2017-05-25 15:12:39 +01:00
|
|
|
'description' => 'A lovely local pub with a decent selection of cask ales',
|
2016-05-19 15:01:28 +01:00
|
|
|
'location' => 'POINT(-2.3805 53.4983)',
|
|
|
|
'created_at' => '2016-01-12 16:19:00',
|
|
|
|
'updated_at' => '2016-01-12 16:19:00',
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|