1
0
Fork 0

app/Models/Card.php: Add default value for jackpot field.

This commit is contained in:
Henrik Hautakoski 2023-03-12 18:36:38 +01:00
parent 6d459e5a88
commit b7ba158675

View file

@ -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',