What's Changed
SchemaAggregator improvements (#423, #425)
- Unsigned integer tracking:
unsignedBigInteger,increments,foreignId,id, and the->unsigned()modifier are now recognized, enablingnon-negative-intinference for unsigned columns @alies-dev - Default values from migrations:
->default()calls in migrations are now parsed and tracked, enabling more accurate type inference for model attributes with defaults @alies-dev - Fix: columns silently dropped: non-method-call statements (like
ifblocks) inside migration closures no longer cause subsequent column definitions to be skipped @alies-dev - Fix:
foreignIdFor()column name:foreignIdFor(User::class)now correctly resolves touser_idinstead ofid@alies-dev
Internal
- Upgrade to PHPUnit 11.5 (#424) @alies-dev
- CI: add PHP 8.5 and multi-version Laravel installer testing @alies-dev
Full Changelog: v3.1.2...v3.1.3