haruncpi / laravel-user-activity

Monitor user activity easily!
https://laravelarticle.com/laravel-user-activity
425 stars 55 forks source link

column "name" does not exist and syntax error `where log_date < NOW() - INTERVAL $1 DAY` #24

Open premmurugesan opened 3 years ago

premmurugesan commented 3 years ago

I am facing an issue in the user table name column query because we have a different column name in the user table but in the package, the name column is selected by default,

Screenshot 2021-04-07 at 4 36 49 PM

Whether any possibilities to change the select query column name?

Screenshot 2021-04-07 at 4 27 59 PM

where log_date < NOW() - INTERVAL $1 DAY this line throwing error, Unable to delete the user activity

Screenshot 2021-04-07 at 4 28 13 PM