Shifts to postgres to fix rpi/sqlite issues