spatie/laravel-server-monitor

Custom Database Table Names

Closed this issue · 3 comments

Right now, the database table names are locked to checks and hosts. It's possible to override the checks model, which allows us to change the database table name, but there doesn't seem to be a way to do the same for hosts.

It would be very helpful if these table names could be customized, or at least if they were namespaced to avoid confusion with other models.

Thanks.

I'd accept a PR that makes the host model configurable in a non breaking way (much like how the check model is configurable now).

Not sure what you mean by "cfr", but I've got PR #38 ready that's hopefully good to go

We'll handle this further in #38