Triplex v1.1.3 API Reference

Modules

Useful functions for any triplex mix task

This is the main module of Triplex

All the configuration for Triplex basic functionality is here

This is a basic plug that ensure the tenant is loaded

This is a basic plug that loads the current tenant assign from a given param

This module have some basic functions for our triplex plugs

This is a struct that holds all the configuration for triplex plugs

This is a basic plug that loads the current tenant assign from a given value set on session

This is a basic plug that loads the current tenant assign from a given value set on subdomain

Mix Tasks

Generates a migration

Runs the pending tenant migrations for the given repository

Displays the up / down migration status for the given repository

Reverts applied migrations in the given repository