fixed db config
added db:migrate to hook. added mysql as production db