spatie / activitylog

A very simple activity logger to monitor the users of your website or application
https://spatie.be/opensource/laravel
MIT License
582 stars 75 forks source link

Config option for table name #13

Closed lasseeee closed 9 years ago

lasseeee commented 9 years ago

Is there a config option to choose a different table name than the default "activity_log" for the migration? Would be great to have.

sebastiandedeyne commented 9 years ago

I'll look into this next week.

sebastiandedeyne commented 9 years ago

Had a look, the problem is that this would require a dynamic table name in the Activity model, which isn't so simple to set up.

I'm planning on doing some refactoring on this package (probably for 3.0) and will add the option in there. I can't give any guarantee on when this is going to happen though.

freekmurze commented 9 years ago

Like @sebastiandedeyne siad we'll add it in the next major version of the package. Unfortunately we can't give you an ETA on when that might happen.

If you need this submit a PR.