Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi tenancy capabilities with Ecto meta prefix #24

Closed
dreamingechoes opened this issue Jul 28, 2017 · 0 comments
Closed

Add multi tenancy capabilities with Ecto meta prefix #24

dreamingechoes opened this issue Jul 28, 2017 · 0 comments

Comments

@dreamingechoes
Copy link
Contributor

Sometimes it's required to work on a multi tenancy system, and be able to
keep track of the versions of the records/models on different schemas/databases. PaperTrail
doesn't allow this at this moment.

Expected behavior

Be able to specify the tenant where the versions entries generated by the user's activity will be stored.

Current behavior

Now it's not possible.

Possible solution

Leverage on the Ecto.Query prefix in order to switch between different schemas/databases. It's necessary to let the user specify this value from the options of the functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant