mirror of
https://github.com/kevin-DL/commander_league_api.git
synced 2026-01-11 18:44:32 +00:00
- Created the formats tables/migrations - Created the controller to retrieve the formats
18 lines
306 B
PHP
18 lines
306 B
PHP
<?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']);
|
|
}
|
|
}
|