Skip to content

Update cakephp/migrations requirement from ^4.0.0 to ^5.0.3#77

Open
dependabot[bot] wants to merge 1 commit into5.xfrom
dependabot/composer/cakephp/migrations-tw-5.0.3
Open

Update cakephp/migrations requirement from ^4.0.0 to ^5.0.3#77
dependabot[bot] wants to merge 1 commit into5.xfrom
dependabot/composer/cakephp/migrations-tw-5.0.3

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 14, 2026

Updates the requirements on cakephp/migrations to permit the latest version.

Release notes

Sourced from cakephp/migrations's releases.

Migrations 5.0.3

What's Changed

⚠️ Potential Breaking Change

Foreign Key Constraint Naming: When using addForeignKey() without an explicit constraint name, migrations now auto-generates names using the pattern {table}_{columns} instead of letting the database generate names (e.g., articles_ibfk_1 on MySQL). This provides consistent naming across all database adapters but may affect rollbacks in existing migrations that reference constraints by their old names. See the upgrade documentation for details.

Full Changelog: cakephp/migrations@5.0.2...5.0.3

Commits
  • c8cfb93 Fix LONGTEXT columns becoming TEXT in generated migrations (#1050)
  • 6f57c07 Merge pull request #1049 from cakephp/docs/fk-naming-changes
  • 2f52459 Auto-generate foreign key constraint names when not provided (#1041)
  • 2454828 Merge branch '5.x' into fix-auto-generate-fk-constraint-name
  • 273b420 Stop using deprecated setOnDelete/setOnUpdate methods (#1047)
  • ea004d1 Document foreign key constraint naming changes
  • 6d4b00d Filter out null fixed option from generated migrations (#1048)
  • fc56383 Add conflict resolution for auto-generated FK constraint names (#1042)
  • 2897bf2 Remove unnecessary index operations from comparison file
  • 22eb54e Update test comparison files with index rename operations
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [cakephp/migrations](https://github.com/cakephp/migrations) to permit the latest version.
- [Release notes](https://github.com/cakephp/migrations/releases)
- [Commits](cakephp/migrations@4.0.0...5.0.3)

---
updated-dependencies:
- dependency-name: cakephp/migrations
  dependency-version: 5.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants