rollback database deploy mechanism