# `EctoMigrationDefault`
[🔗](https://github.com/ash-project/ash_postgres/blob/v2.9.0/lib/ecto_migration_default.ex#L5)

Allows configuring how values are translated to default values in migrations.

Still a work in progress, but covers most standard values aside from maps.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `to_default`

Returns the text (elixir code) that will be placed into a migration as the default value

---

*Consult [api-reference.md](api-reference.md) for complete listing*
