Changed DB from sqlite to postgres