Restore foreign key and index that have been removed in commit 163f98b.
Restore foreign key and index that have been removed in commit 163f98b.

teikei/teikei,teikei/teikei,teikei/teikei,sjockers/teikei,sjockers/teikei,sjockers/teikei