Modified home#index query to support both pg and mysql