fixed bug in dj.Table/addForeignKey and dropForeignKey