Esempio n. 1
0
def run_general_migrations():
    """ Runs necessary migrations for CherryMusic data that is NOT kept inside
        of databases.

        This might however include relocating the database files tmhemselves,
        so general migrations should run before migrating the database content.

        See :mod:`~cherrymusicserver.migrations`.
    """
    migrations.check_and_migrate_all()
Esempio n. 2
0
def run_general_migrations():
    """ Runs necessary migrations for CherryMusic data that is NOT kept inside
        of databases.

        This might however include relocating the database files tmhemselves,
        so general migrations should run before migrating the database content.

        See :mod:`~cherrymusicserver.migrations`.
    """
    migrations.check_and_migrate_all()