Try moving before_migrate, see if it gets picked up.