refactor(models): replace HasFactory with HasContainerFactory across all models
Add static $factory property for Porto-style model factory resolution
This commit is contained in:
@@ -2,10 +2,15 @@
|
||||
|
||||
namespace App\Containers\Dashboard\Models;
|
||||
|
||||
use App\Ship\Traits\HasContainerFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class IntegrationCredential extends Model
|
||||
{
|
||||
use HasContainerFactory;
|
||||
|
||||
protected static string $factory = \Database\Factories\IntegrationCredentialFactory::class;
|
||||
|
||||
protected $guarded = false;
|
||||
|
||||
protected $casts = [
|
||||
|
||||
Reference in New Issue
Block a user