mirror of
https://github.com/kevin-DL/commander_league_api.git
synced 2026-01-15 20:24:43 +00:00
Game formats
- Created the formats tables/migrations - Created the controller to retrieve the formats
This commit is contained in:
9
app/Model/Format.php
Normal file
9
app/Model/Format.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
class Format extends \Illuminate\Database\Eloquent\Model
|
||||
{
|
||||
protected $fillable = ['name'];
|
||||
protected $hidden = ['created_at', 'updated_at'];
|
||||
}
|
||||
Reference in New Issue
Block a user