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
-
Prioritize
Ecto.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.
To Do
- README documentation
Schemamodule to cache migration SQL for creating and running new migrations- Setup tests