add model and migrate
fix conflict
Merge pull request #2 from tianlu1677/master

add model and migrate