Exemple #1
0
 def migrate_alias_database(self):
     '''
     migrate alias database to match CURRENT_SCHEMA_VERSION
     '''
     migrate_database(driver=self,
                      migrate_functions=SCHEMA_MIGRATION_FUNCTIONS,
                      current_schema_version=CURRENT_SCHEMA_VERSION,
                      model=AliasSchemaVersion)
Exemple #2
0
 def migrate_index_database(self):
     """
     migrate alias database to match CURRENT_SCHEMA_VERSION
     """
     migrate_database(
         driver=self,
         migrate_functions=SCHEMA_MIGRATION_FUNCTIONS,
         current_schema_version=CURRENT_SCHEMA_VERSION,
         model=IndexSchemaVersion)