changes to move tracker db from sqlite to postgres