summaryrefslogtreecommitdiff
path: root/database/seeds/VenueSeeder.php
diff options
context:
space:
mode:
Diffstat (limited to 'database/seeds/VenueSeeder.php')
-rw-r--r--database/seeds/VenueSeeder.php51
1 files changed, 51 insertions, 0 deletions
diff --git a/database/seeds/VenueSeeder.php b/database/seeds/VenueSeeder.php
new file mode 100644
index 0000000..f95e4ef
--- /dev/null
+++ b/database/seeds/VenueSeeder.php
@@ -0,0 +1,51 @@
+<?php
+
+use Illuminate\Database\Seeder;
+use App\Rugby\Model;
+
+class VenueSeeder extends Seeder
+{
+ /**
+ * Run the database seeds.
+ *
+ * @return void
+ */
+ public function run()
+ {
+ Model\Venue::create(
+ [
+ 'name' => 'Twickenham'
+ ]
+ );
+
+ Model\Venue::create(
+ [
+ 'name' => 'Stade de France'
+ ]
+ );
+
+ Model\Venue::create(
+ [
+ 'name' => 'Stadio Olimpico'
+ ]
+ );
+
+ Model\Venue::create(
+ [
+ 'name' => 'Millennium Stadium'
+ ]
+ );
+
+ Model\Venue::create(
+ [
+ 'name' => 'Murrayfield Stadium'
+ ]
+ );
+
+ Model\Venue::create(
+ [
+ 'name' => 'Aviva Stadium'
+ ]
+ );
+ }
+}