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

Using passthrough of model connection. #37

Merged
merged 3 commits into from
Jul 31, 2022
Merged

Commits on Jul 31, 2022

  1. Using passthrough of model connection.

    This will allow for multiple database connections where the connection from the model with the versionable trait will pass through to the version model.
    
    It does require that the version table exists in any database with a table that is versionable but that is the intent of this change.
    
    When there is no connection specied (ie: null connection name) Laravel will just use the default connection.
    ryangurn authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    7b129d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a06a0b2 View commit details
    Browse the repository at this point in the history
  3. Reverting changes

    ryangurn authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    3370203 View commit details
    Browse the repository at this point in the history