issue table foreign keys added to migration