app/Models/Card.php: Add default value for jackpot field.
This commit is contained in:
parent
6d459e5a88
commit
b7ba158675
1 changed files with 9 additions and 0 deletions
|
|
@ -21,6 +21,15 @@ class Card extends Model
|
|||
|
||||
protected $appends = ['subject', 'subject_type'];
|
||||
|
||||
/**
|
||||
* The model's default values for attributes.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $attributes = [
|
||||
'jackpot' => false,
|
||||
];
|
||||
|
||||
public $fillable = [
|
||||
'body',
|
||||
'character_id',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue