feat: add descriptions for product table

This commit is contained in:
2025-09-18 14:12:02 +03:30
parent 04bbcb831a
commit e44d4064df
3 changed files with 38 additions and 0 deletions
+4
View File
@@ -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()
{