fixed migration and rollback commands