migration issues
This commit is contained in:
@ -3,20 +3,10 @@
|
||||
namespace Modules\Leave\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Modules\Leave\Database\factories\LeaveFactory;
|
||||
|
||||
class Leave extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'tbl_leaves';
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = [];
|
||||
|
||||
protected static function newFactory(): LeaveFactory
|
||||
{
|
||||
//return LeaveFactory::new();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user