added references for foreign keys and corresponding migrations