Hi, Liming,
There is no exception. The only worng this is that the generated migration doesn't contain the foreing key creation code.