Merge pull request #7 from CalvertYang/master

Add upgrade database method and merge code
issue of foreignkey of datatable
Merge pull request #17 from AndyYou/master

issue of foreignkey of datatable