diff --git a/worker/restore.go b/worker/restore.go index 0d5aa2c7b5b..cd503a13a9f 100644 --- a/worker/restore.go +++ b/worker/restore.go @@ -250,6 +250,7 @@ func loadFromBackup(db *badger.DB, in *loadBackupInput) (uint64, uint64, error) if err := update.Unmarshal(kv.Value); err != nil { return err } + update.TypeName = x.GalaxyAttr(update.TypeName) for _, sch := range update.Fields { sch.Predicate = x.GalaxyAttr(sch.Predicate) }