FEATURE: add fields for languages

This commit is contained in:
Michal Kváček
2016-07-22 00:43:52 +02:00
parent 181e1fb721
commit 6021f1ea9a
3 changed files with 49 additions and 5 deletions
+3 -3
View File
@@ -8,11 +8,11 @@ class Language extends Model
{
public $timestamps = false;
public $primaryKey = 'code';
protected $fillable = [
'code',
'name'
'name',
'script',
'native'
];
protected $guarded = [];
}