def METHOD_NAME(db_path):
    if db_path is None:
        raise ConfigError("No database path is given.")
    # make sure someone is not being funny
    utils.is_structure_db(db_path)
    structure_db = db.DB(db_path, None, ignore_version = True)
    if str(structure_db.get_version()) != current_version:
        structure_db.disconnect()
        raise ConfigError("Version of this structure database is not %s (hence, this script cannot really do anything)." % current_version)
    structure_db.disconnect()
    # drop entry ids one by one
    for table_name in tables:
        drop_entry_id_column_from_table(db_path, table_name, table_properties=tables[table_name])
    # set the version
    structure_db = db.DB(db_path, None, ignore_version = True)
    structure_db.remove_meta_key_value_pair('version')
    structure_db.set_version(next_version)
    structure_db.disconnect()
    progress.end()
    run.info_single("Your structure db is now version %s. %d of its tables were cleaned from a historical "
                    "design artifact." % (next_version, len(tables)), nl_after=1, nl_before=1, mc='green')