fix to add nullable=True
Merge pull request #4 from zhangchunlin/fixdb

fix to add nullable=True