Fix #12 - defining a tenant does not define an association index, and manually doing so causes error (pranav-g10)

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>