A default value can be set to an attribute through the following DQL query.
Syntax:
ALTER TYPE <type_name> MODIFY (<attribute> (set default = <value to be set>)) PUBLISH
Example:
ALTER TYPE dm_document MODIFY (subject (set default = null)) PUBLISH