We are trying to get a last login report to see who is actually using Crucible.
We were using this Script;
select distinct cru_user.cru_user_name,cru_crucible_enabled,from_unixtime(cru_recently_visited.cru_last_viewed/1000) as last_view from cru_user JOIN cru_recently_visited on cru_user.cru_user_name = cru_recently_visited.cru_user_name where cru_crucible_enabled=1 and cru_last_viewed = (SELECT MAX(cru_last_viewed) from cru_recently_visited WHERE cru_user.cru_user_name = cru_recently_visited.cru_user_name);
However this worked for Crucible version 3.x...but since we have upgraded we are unable to run this query against mysql.
Instead we get a ERROR 1054 (42S22): Unknown column 'cru_crucible_enabled' in 'field list'
What are we missing.