Condo
Condo is a multi-tenant adapter for Ecto. You can use this to create new schemata in PostgreSQL. It’s main advantages are:
- Compile-time migrations
- Mix task to run all migrations asyncronously
-
Prioritize
Repofunctions for modifying and reading data
Installation
If available in Hex, the package can be installed
by adding condo to your list of dependencies in mix.exs:
def deps do
[
{:condo, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/condo.