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

Foreign key #25

Closed vadimsg closed 8 years ago

vadimsg commented 8 years ago

Can you please add possibility to change primary key from user_id to any other in config?

freekmurze commented 8 years ago

I'm not sure want you want. user_id isn't the primary key.

vadimsg commented 8 years ago

wup sorry, kinda misspelled. I meant foreign key. I need to replace it to admin_id.

freekmurze commented 8 years ago

Currently this is not possible, but I'd accept a PR that adds this (reading the foreign key name from the config file) to the package.