feat: add descriptions for product table
This commit is contained in:
@@ -24,6 +24,10 @@ public function users()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'user_product')->withPivot(['expire_at', 'purchase_token', 'gateway'])->withTimestamps();
|
||||
}
|
||||
protected $casts = [
|
||||
'descriptions' => 'array',
|
||||
];
|
||||
|
||||
|
||||
public function packageName()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user