scaffold and db:migrate events