Fix the generation of foreign keys' names
Merge pull request #2 from Dinduks/fix_fk_names

LGTM