Solve foreign key can not remove bug.
Merge pull request #78 from hutushen222/master

Solve froeign key can not remove bug.