mirror of
https://github.com/kevin-DL/commander_league_api.git
synced 2026-01-19 05:35:18 +00:00
Game formats
- Created the formats tables/migrations - Created the controller to retrieve the formats
This commit is contained in:
17
database/seeds/FormatSeeder.php
Normal file
17
database/seeds/FormatSeeder.php
Normal 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']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user