Skip to content

Commit d7d9fce

Browse files
macbembitwalker
authored andcommitted
Add a tip about where to put the migration runner (#557)
I've encountered the problem solved by this commit while I was learning Distillery through this tutorial - I think that it'd be nice to have the place for `App.ReleaseTasks` mentioned in the docs, especially for beginners.
1 parent 90be292 commit d7d9fce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/running_migrations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ defmodule MyApp.ReleaseTasks do
101101
end
102102
end
103103
```
104+
!!! warning
105+
Remember to put this file under `lib`, as it must be compiled with the rest of your application, otherwise the code will not be available in the release, and the migrate command will fail.
104106

105107
## Custom command
106108

0 commit comments

Comments
 (0)