scaffold and db migrate