Skip to content

Instantly share code, notes, and snippets.

@bydooweedoo
bydooweedoo / A_README.md
Created August 9, 2017 07:08 — forked from alanpeabody/A_README.md
Running a elixir dependency's migrations from parent app (in parent repo)

Goal

To pull in dependencies and have them run their migrations in the parent apps' repo.

Setup

MyChild - A mix application with ecto migrations, schemas, etc. MyParent - A phoenix application that wants to leverage the child application.

In this case MyParent has added MyChild as a mix dependency via github, eg: