summaryrefslogtreecommitdiff
path: root/database/seeds/VenueSeeder.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2020-06-19 02:16:51 +0100
committerFbenas <philbeansburton@gmail.com>2020-06-19 02:16:51 +0100
commitd1fe4536cc039450b540104e382db0d01d5cf886 (patch)
treefd40ab48f79370541f377b59bb381811126485ad /database/seeds/VenueSeeder.php
parentc83e876693bdb71c66418c13f5e09dfdaef24478 (diff)
Initial commit
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'
+ ]
+ );
+ }
+}