Ejemplo n.º 1
0
def do_db_sync():
    """Place a database under migration control and upgrade.

    Creating first if necessary.
    """
    api.db_sync(api.get_engine(), CONF.command.version)
Ejemplo n.º 2
0
def do_db_sync():
    """Place a database under migration control and upgrade.

    Creating first if necessary.
    """
    api.db_sync(api.get_engine(), CONF.command.version)
Ejemplo n.º 3
0
def do_db_version():
    """Print database's current migration level."""
    print(api.db_version(api.get_engine()))
Ejemplo n.º 4
0
def do_db_version():
    """Print database's current migration level."""
    print(api.db_version(api.get_engine()))