FEATURE: add language table

This commit is contained in:
Michal Kváček
2016-07-21 23:11:05 +02:00
parent 949b1f7c61
commit db912c4c91
4 changed files with 108 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Language extends Model
{
public $timestamps = false;
public $primaryKey = 'code';
protected $fillable = [
'code',
'name'
];
protected $guarded = [];
}