This repository was archived by the owner on Jul 14, 2026. It is now read-only.
Patch for Laravel 11/12 compatibility and IBM i authority fixes - #18
Draft
dwebb-cobwebb wants to merge 10 commits into
Draft
Patch for Laravel 11/12 compatibility and IBM i authority fixes#18dwebb-cobwebb wants to merge 10 commits into
dwebb-cobwebb wants to merge 10 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Note: Most of these changes were suggested by Gemini, I was mainly just copying and pasting.
This PR provides necessary updates to support Laravel 11 and 12. Recent framework changes modified several internal Schema signatures and property visibilities which previously caused FatalErrors and BadMethodCallExceptions.
Key Changes:
Framework Compatibility:
Updated DB2Blueprint::indexCommand to include the $operatorClass parameter.
Updated DB2SchemaGrammar compile methods (compileCreate, compileAdd, etc.) to match the new 2-argument signature.
Adjusted DB2Builder::createBlueprint to pass the Connection object as the first argument.
Data Type Support:
Added typeTinyInteger and typeMediumInteger mappings to the Grammar to prevent crashes during standard Laravel migrations (e.g., the jobs table).
IBM i Specific Fixes:
Added PDO::ATTR_CASE => PDO::CASE_LOWER to DB2Connection to resolve case-sensitivity issues with migration metadata.
Neutralized compileAddReplyListEntry/compileDropReplyListEntry to prevent SQL0551 (Authority) and CPF0006 (Sequence collision) errors on locked systems.
Fixed hasColumn and getColumnListing to properly utilize INFORMATION_SCHEMA with upper-cased library/table bindings.