Adds pre_migration methods to DatabaseWrapper to support SpatiaLite