The reason for Vapor Handling Environment Variables in Phoenix

Ecto & Multi-tenancy - Prefixes

The third and final part of the saga. This is what I ended up doing for my multi-tenant application using Ecto prefixes and PostgreSQL schema as a simpler alternative to dynamic repos.

https://underjord.io/ecto-multi-tenancy-prefixes-part-3.html

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.