'Place a database under migration control'

@args('--version', metavar='<version>', help='Database    version')
def version_control(self, version=db_migration.ALEMBIC_INIT_VERSION):

    if (version is None):
        version = db_migration.ALEMBIC_INIT_VERSION
    a_config = alembic_migrations.get_alembic_config()
    alembic_command.stamp(a_config, version)
    print(_('Placed    database    under    migration    control    at    revision:'), version)
