PhoenixKit.Migrations.Postgres.V14 (phoenix_kit v1.6.16)

View Source

PhoenixKit V14 Migration: Email Body Compression Support

This migration adds support for email body compression to optimize storage and improve archival functionality.

Changes

Email Log Enhancements

  • Adds body_compressed boolean field to track compression status
  • Enables efficient archival and storage management

PostgreSQL Support

  • Supports PostgreSQL prefix for schema isolation
  • Backward compatible with existing data
  • Sets default value for existing records

Summary

Functions

Rollback the V14 migration.

Run the V14 migration to add body compression support.

Functions

down(opts)

Rollback the V14 migration.

up(opts)

Run the V14 migration to add body compression support.