About migration

yes, all of them are dgraph.

the situation is, by now, I just use the instance in my own machine. I wonder if I migrate it to the cloud in the future, all the relations will keep the same, or what should I do for this situation.