Version postgresql DB from qgis and work offline on spatialite working copies