为 state 指定默认值 0
更新表结构，默写字段改为 NOT NULL
Merge branch 'trunk' of https://github.com/leeaee/modoop into trunk