Closed ks-dipeshc closed 1 year ago
You'll need to add HybridRelations
trait to your model.
ie.
...
use Jenssegers\Mongodb\Eloquent\HybridRelations;
class Questionset extends Model implements Auditable
{
use \OwenIt\Auditing\Auditable, HybridRelations;
...
}
Hello guys, I use PostgreSQL as well as MongoDB in my project. Auditing on PostgreSQL implemented Model is working fine, but Auditing on MongoDB implemented model is not working.
Here is my config/audit.php file:
Here is MonogDB implemented model: