Moves from sqlite database to postgres.