mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
handle SubscriptionWasCreated, SubscriptionWasExpired, SubscriptionWasUpdated on VueFileManager backend
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
namespace App\Users\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Database\Factories\UserLimitationFactory;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class UserLimitation extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $guarded = [];
|
||||
@@ -16,4 +20,9 @@ class UserLimitation extends Model
|
||||
public $incrementing = false;
|
||||
|
||||
protected $keyType = 'string';
|
||||
|
||||
protected static function newFactory(): UserLimitationFactory
|
||||
{
|
||||
return UserLimitationFactory::new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user