View Source EctoMigrationDefault protocol (ash_postgres v1.3.44)

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

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

Link to this section Summary

Types

t()

All the types that implement this protocol.

Functions

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

Link to this section Types

@type t() :: term()

All the types that implement this protocol.

Link to this section Functions

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