mix ash_feistel_cipher.upgrade (ash_feistel_cipher v1.0.1)

View Source

Generate a migration to upgrade FeistelCipher from v0.x to v1.0.0

Generates an Ecto migration that upgrades the PostgreSQL functions from v0.x to v1.0.0. This composes feistel_cipher.upgrade with the same options.

Note: Before running this task, you must manually update your Ash resource DSL to replace bits: with time_bits: 0, data_bits:. See UPGRADE.md for details.

Example

mix ash_feistel_cipher.upgrade

Options

  • --repo or -r — Specify an Ecto repo for FeistelCipher to use.
  • --functions-prefix or -p — Specify the PostgreSQL schema prefix (default: public)