# defaultFunctions

{% hint style="info" %}
#### Experimental Feature

This configuration entry is related to an Experimental (Optional) feature called Custom Attribute Functions. Before you start to configure this section, make sure to read the page specific for this feature (accessible [here](../../optional-features/schema-improvements/custom-attribute-functions)) and [this](../../concepts/experimental-features) page that explains how to enable Experimental Features.
{% endhint %}

### Type: [Map](../types-and-objects/map)<[FileModelColumn](../types-and-objects/file-model-column), [DefaultFunction](../types-and-objects/default-function)>

<details>

<summary>Versioning History</summary>

**API Version v2.0.0** - Introduced `defaultFunctions` configuration option.

</details>

Configure the default function for this column. The key of this element is a field from a model, and the value is the default value of said column. To configure default functions, add these lines to your configuration object:

{% code title="prisma-util.config.mjs" %}
```javascript
export default {
    // Other configuration lines
    defaultFunctions: {
        "filePath:Model.column": (dmmf) => "defaultValue"
    }
};
```
{% endcode %}
