summaryrefslogtreecommitdiff
path: root/seeds/GameModeSeeder.php
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-02-03 16:52:53 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2018-02-03 16:52:53 +0100
commit8f97ddf3dd6c367f4b635a87345c3a1b7a26a093 (patch)
tree24a2e629c470b33760de541e75a9500161dca57d /seeds/GameModeSeeder.php
downloadmigrations-8f97ddf3dd6c367f4b635a87345c3a1b7a26a093.tar.gz
migrations-8f97ddf3dd6c367f4b635a87345c3a1b7a26a093.zip
import from gamessocial
Diffstat (limited to 'seeds/GameModeSeeder.php')
-rw-r--r--seeds/GameModeSeeder.php61
1 files changed, 61 insertions, 0 deletions
diff --git a/seeds/GameModeSeeder.php b/seeds/GameModeSeeder.php
new file mode 100644
index 0000000..765b739
--- /dev/null
+++ b/seeds/GameModeSeeder.php
@@ -0,0 +1,61 @@
+<?php
+
+use Illuminate\Database\Seeder;
+
+class GameModeSeeder extends Seeder
+{
+ /**
+ * Run the database seeds.
+ *
+ * @return void
+ */
+ public function run()
+ {
+ //
+ DB::table('game_mode')->insert([
+ 'id' => 1,
+ 'name' => 'all',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 2,
+ 'name' => 'casual',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 3,
+ 'name' => 'ranked',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 4,
+ 'name' => 'blitz_pvp_ranked',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 5,
+ 'name' => 'casual_aral',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 6,
+ 'name' => 'private',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 7,
+ 'name' => 'private_ranked',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 8,
+ 'name' => 'private_party_blitz_match',
+ ]);
+
+ DB::table('game_mode')->insert([
+ 'id' => 9,
+ 'name' => 'private_party_aral_match',
+ ]);
+
+ }
+}