Allow migration to be rollback.

Signed-off-by: crynobone <crynobone@gmail.com>