What Dgraph version do you use? Please, do this https://docs.dgraph.io/v1.0.9/deploy/#upgrade-database and upgrade if so.