modified table definition migration to use references.
Merge pull request #17 from Mura-Mi/modify-external-reference

modified table definition migration to use references.