コード例 #1
0
ファイル: __init__.py プロジェクト: samuelyeungkc/cherrymusic
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()
コード例 #2
0
ファイル: __init__.py プロジェクト: samuelyeungkc/cherrymusic
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()