#23 add rankings

This commit is contained in:
Nabeel Shahzad
2017-06-21 20:18:01 -05:00
parent 363d463833
commit 5b920151b8
12 changed files with 78 additions and 104 deletions
+5 -2
View File
@@ -28,7 +28,10 @@ class Rank extends Model
*/
protected $casts = [
'name' => 'string',
'hours' => 'integer'
'hours' => 'integer',
'auto_approve_acars' => 'boolean',
'auto_approve_manual' => 'boolean',
'auto_promote' => 'boolean',
];
/**
@@ -37,6 +40,6 @@ class Rank extends Model
* @var array
*/
public static $rules = [
'name' => 'unique',
];
}