add db rollback and migrate down tasks #2122