As an alternative approach; we take a similar view to the grandparent, but run a full set of migrations instead of just copying the schema.
It actually works quite well. The tradeoff being that it may take a little longer, but we're typically talking tenths of a second.