diff --git a/app/Models/Card.php b/app/Models/Card.php index 5df93c8..ab437e8 100644 --- a/app/Models/Card.php +++ b/app/Models/Card.php @@ -38,6 +38,15 @@ class Card extends Model 'role' ]; + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'jackpot' => 'boolean', + ]; + /** * Get the character that's associated with this card. */