ecto-release-migrations

Installation
SKILL.md

Ecto Release Migrations Setup

Overview

In Elixir releases, Mix is not available. This skill creates a Release module that handles database creation, migration, and rollback via bin/app_name eval commands.

Workflow

  1. Detect app name and repos

    • Check mix.exs for app name
    • Check config/config.exs or config/runtime.exs for Ecto repos
  2. Create Release module

    • Location: lib/<app_name>/release.ex
    • Must handle multiple repos if present
  3. Verify config

    • Ensure config/runtime.exs has production database config
    • Check for DATABASE_URL or explicit config
Installs
19
First Seen
Apr 27, 2026
ecto-release-migrations — gsmlg-dev/code-agent