-
Notifications
You must be signed in to change notification settings - Fork 91
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 #25
Add multi tenancy capabilities with ecto meta prefix #25
Commits on Jul 27, 2017
-
Add new add_prefix function in paper_trail module
This new function will allow the user to add information to the Ecto meta :prefix in order to use a different tenant for the operation on the version struct.
Configuration menu - View commit details
-
Copy full SHA for e9f28cb - Browse repository at this point
Copy the full SHA e9f28cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c27bbc8 - Browse repository at this point
Copy the full SHA c27bbc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61737dc - Browse repository at this point
Copy the full SHA 61737dcView commit details
Commits on Jul 28, 2017
-
Add defdelegate in PaperTrail module to PaperTrail.VersionQueries
This allows to remove unnecessary functions from PaperTrail module
Configuration menu - View commit details
-
Copy full SHA for d4d8e40 - Browse repository at this point
Copy the full SHA d4d8e40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59f34c4 - Browse repository at this point
Copy the full SHA 59f34c4View commit details -
Add new definitions for all the functions in PaperTrail.VersionQueries
Includes new definitions in order to be able to pass a list of options to the final query and be able to set data such as Ecto :prefix. This adds some basic documentation as well.
Configuration menu - View commit details
-
Copy full SHA for e71b3d4 - Browse repository at this point
Copy the full SHA e71b3d4View commit details -
Remove result type from PaperTrail.VersionQueries and specifies the v…
…alue on the spec
Configuration menu - View commit details
-
Copy full SHA for ad52cb4 - Browse repository at this point
Copy the full SHA ad52cb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83a0d7a - Browse repository at this point
Copy the full SHA 83a0d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ef58a0 - Browse repository at this point
Copy the full SHA 4ef58a0View commit details
Commits on Aug 1, 2017
-
Add new MultiTenantHelper module into example test support folder
This module contains functions related with multi tenancy for test purposes
Configuration menu - View commit details
-
Copy full SHA for 696a6c3 - Browse repository at this point
Copy the full SHA 696a6c3View commit details -
Add new MultiTenantHelper module into lib test support folder
This module contains functions related with multi tenancy for test purposes
Configuration menu - View commit details
-
Copy full SHA for a50177a - Browse repository at this point
Copy the full SHA a50177aView commit details -
Add new QueryHelper module into example test support folder
This module contains functions related with models queries for test purposes
Configuration menu - View commit details
-
Copy full SHA for f2519db - Browse repository at this point
Copy the full SHA f2519dbView commit details -
Add new ChangesetHelper module into example test support folder
This module contains functions related with models changesets for test purposes
Configuration menu - View commit details
-
Copy full SHA for c62150e - Browse repository at this point
Copy the full SHA c62150eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4aa4d - Browse repository at this point
Copy the full SHA 2c4aa4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd355f - Browse repository at this point
Copy the full SHA 9bd355fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b669c - Browse repository at this point
Copy the full SHA 77b669cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4975d2b - Browse repository at this point
Copy the full SHA 4975d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96ecccd - Browse repository at this point
Copy the full SHA 96ecccdView commit details -
Add tests for multi tenant in bang_functions_simple_mode_test
Includes some new functions as well with common behaviors
Configuration menu - View commit details
-
Copy full SHA for d01fedf - Browse repository at this point
Copy the full SHA d01fedfView commit details -
Add tests for multi tenant in bang_functions_strict_mode_test
Includes some new functions as well with common behaviors
Configuration menu - View commit details
-
Copy full SHA for 95b3312 - Browse repository at this point
Copy the full SHA 95b3312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a2dfb5 - Browse repository at this point
Copy the full SHA 8a2dfb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ffd44 - Browse repository at this point
Copy the full SHA a1ffd44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a42220 - Browse repository at this point
Copy the full SHA 8a42220View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf638d6 - Browse repository at this point
Copy the full SHA cf638d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b914cfd - Browse repository at this point
Copy the full SHA b914cfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7414a66 - Browse repository at this point
Copy the full SHA 7414a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f51b7e - Browse repository at this point
Copy the full SHA 5f51b7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c50eef8 - Browse repository at this point
Copy the full SHA c50eef8View commit details
Commits on Aug 5, 2017
-
Remove changeset_helper.exs and query_helper.exs from example/test/su…
…pport Now the aux functions used on the example app tests are located in each test file in stead of in one separated module.
Configuration menu - View commit details
-
Copy full SHA for 0604631 - Browse repository at this point
Copy the full SHA 0604631View commit details
Commits on Aug 6, 2017
-
Add final refactor to example app test files
Removes all the aux functions in order to make all the variables more explicit and easier to understand. Removes some typos in person_test description.
Configuration menu - View commit details
-
Copy full SHA for ead9cc6 - Browse repository at this point
Copy the full SHA ead9cc6View commit details
Commits on Aug 9, 2017
-
Propagate options to repo actions in delete functions
This will allow us to delete records with on cascade relations in the same schema (it’s not possible at this moment).
Configuration menu - View commit details
-
Copy full SHA for 64231d7 - Browse repository at this point
Copy the full SHA 64231d7View commit details -
Add some additional assertions in tests
This additional assertions will allow us to compare results between regular behavior and the multi tenant one, and check if multi tenant generates some conflicts on the public schema/database.
Configuration menu - View commit details
-
Copy full SHA for 1359026 - Browse repository at this point
Copy the full SHA 1359026View commit details