Kryptex.PostgresMigration (kryptex v0.1.0)

Copy Markdown View Source

Postgres migration helpers.

The encrypted field type stores binary payloads, so in Postgres this maps to bytea via Ecto's :binary.

Summary

Functions

Adds an encrypted column (:binary / bytea) to a Postgres table.

Functions

add_encrypted(name, opts \\ [])

(macro)

Adds an encrypted column (:binary / bytea) to a Postgres table.