fix #55

set table_name for foreign key
Merge pull request #56 from dexion/patch-1

fix #55