laravel-eloquent-flag
laravel-eloquent-flag copied to clipboard
Add getQualified***Column method
In SoftDeletes trait getQualifiedDeletedAtColumn() method is used to avoid errors in queries when join is used. Sample:
public function apply(Builder $builder, Model $model) { $builder->whereNull($model->getQualifiedDeletedAtColumn()); }
It is necessary to add similar functionality to this package.