mix audit_log.gen.migration (AuditLog v0.3.1)

Copy Markdown View Source

Generates a reversible Ecto migration that installs AuditLog:

mix audit_log.gen.migration
mix audit_log.gen.migration -r MyApp.Repo

The task passes all options to mix ecto.gen.migration. For example, use --migrations-path to select a custom directory.

The generated migration calls AuditLog.Migration.up/1 and AuditLog.Migration.down/1. Edit those calls to add a PostgreSQL schema prefix when needed.