Game formats

- Created the formats tables/migrations
- Created the controller to retrieve the formats
This commit is contained in:
2020-10-31 19:20:53 +00:00
parent 49778dbbc8
commit 0691e5a107
13 changed files with 350 additions and 231 deletions

View File

@@ -0,0 +1,17 @@
<?php
use Illuminate\Database\Seeder;
class FormatSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Model\Format::create(['name' => 'Commander']);
\App\Model\Format::create(['name' => 'Brawl']);
}
}