Add dependancies in migrations.

Change-Id: I7e2612290035f3513250f2776486473ffb875792