working if db has data
Merge branch 'master' of https://github.com/brndnthai/plantivity