Added typehint to migration

I forgot this one in the previous pull I made. #583

Signed-off-by: Daniel Bondergaard <danielboendergaard@gmail.com>