condo v0.2.4 API Reference

Modules

Main functions for Condo.

Functions for managing migrations with Condo.

This repo is very similar to Ecto.Repo but instead of being a module to be extended, it's a module meant to be used to map tenants to database instances in case you are sharding tenants. It also provides feature parity with Ecto.Repo by using meta-programming and adding the prefix into the options.

Mix Tasks

Generates a migration for the tenants. Please ensure that you have set :migration_namespace for Condo as well.