avoid attr_encrypted logic when migrating data