Change sqlite database to pg database