Puts migration table in a variable.