def db_create():
    """Create the database"""
    try:
        migrate_api.version_control(url=db_url, repository=db_repo)
        db_upgrade()
    except DatabaseAlreadyControlledError:
        print 'ERROR: Database is already version controlled.'
def db_create ( ) : try : migrate_api . version_control ( url = db_url , repository = db_repo ) db_upgrade ( ) except DatabaseAlreadyControlledError : print 'ERROR: Database is already version controlled.'
Create the database