chelout/laravel-relationship-events

Multi tenant support

fernandocoronatomf opened this issue · 4 comments

Hi,

Thank you for the package... I tried to use it with a multi tenant package and as soon as I do

static::hasManySaved(function ($parent, $related) { dd('hello'); });

I can't even run migrations anymore, it says my database is not configured.

Any idea that can help me to figure out the problem?

Can you show me your model code?

And what package/version do you use as multi tenant?

I’ve tried basic install of this two packages, everything works fine.
Well, can you guide me to reproduce an error?