View Source EctoMigrationDefault protocol (ash_postgres v2.1.17)

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

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

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

Types

@type t() :: term()

All the types that implement this protocol.

Functions

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