fixed #22 problem about migration
make migration work
assets for heroku
local database format