appwritereferencesdatabasescreate-attribute-enumcreate-attribute-enumCreate an enumeration attribute. The elements param acts as a white-list of accepted values for this attribute.