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

How to add more fields like content_type & content_id? #22

Closed webmastervinay closed 8 years ago

webmastervinay commented 8 years ago

Hello, Thanks for the wonderful script. Just one doubt. How can we add more fields like content_type & id so that we can fetch records based on content_type. Thanks in advance.

freekmurze commented 8 years ago

Hi, currently using your own model is not possible. We plan to add this is a future major version of the package. No ETA on that though.

Cannonb4ll commented 8 years ago

+1 on this feature

BojanKogoj commented 8 years ago

+1, polymorphic relations needed a lot!

freekmurze commented 8 years ago

We well add this in the next major release of te package. ETA: first half of 2016. If you need this quicker, feel free to submit a PR.