# \#wiki

**URL:** https://discuss.dgraph.io/tag/wiki/227.md

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

---

## [Migrating Data with DQL after changing GraphQL Schema](https://discuss.dgraph.io/t/migrating-data-with-dql-after-changing-graphql-schema/16366)

<div class="topic-metadata">

**Author:** [@amaster507](https://discuss.dgraph.io/u/amaster507)\
**Replies:** 1\
**Last updated:** [December 19, 2021, 6:59am UTC](https://discuss.dgraph.io/t/migrating-data-with-dql-after-changing-graphql-schema/16366 "2021-12-19T06:59:57Z")

</div>

Lets say we made these changes to our schema (v21.12+): -type UserEmails { +type UserEmail { + id: ID! email: String @search verified: Boolean @search + owner: User @hasInverse(field: "linkedEmails") } type U…
