'This can be used if a plugin is declaring non-declarative sqlalchemy tables.
:param table: Can either be the name of the table, or an :class:`sqlalchemy.Table` instance.'

def register_table(cls, table):

    if isinstance(table, str):
        register_plugin_table(table, cls.plugin, cls.version)
    else:
        register_plugin_table(table.name, cls.plugin, cls.version)
