Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Due to the removal of DBAL in Laravel 11 (see Laravel 11 Upgrade Guide), I have rebuilt the generation of DBML using the native Laravel 11 methods.
All the methods I used were added in various versions of Laravel 10. Therefore, this is a breaking change and will not work with Laravel versions prior to v10.37. Below is a list of the methods and their corresponding versions:
I have set the minimum version in the composer.json to v10.37. If you prefer to set the minimum version to v11 only, please let me know.
Due to these breaking changes, this update might require a new release of the package.
For full backwards compatibility, it should be possible to add a switch to use either the native methods or the old DBAL methods. If you prefer this, let me know.
Fixes #6