def load_schema(schema):
    """
    Load a schema file with path +schema+ into the database. Assumes that
    there exists an active database connection.
    """
    with repo.Repo.db:
        repo.Repo.db.executescript(schema)
Load a schema file with path +schema+ into the database. Assumes that
    there exists an active database connection.