Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 24, 2026

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

Release notes

Sourced from cakephp/migrations's releases.

Migrations 5.0

Fully refactored major with zero dependencies outside CakePHP code.

Breaking Changes

  • Phinx fully removed - The library no longer depends on Phinx. All functionality is now native to CakePHP Migrations.
  • Requires CakePHP 5.3+
  • Integer columns now default to signed - Use explicit 'signed' => false for unsigned columns
  • Unified migrations table - New cake_migrations table name (auto-detects legacy phinxlog for BC)

New Features

  • Seed tracking - Seeds now track execution state in cake_seeds table, preventing accidental re-runs
  • Upsert operations - insertOrUpdate() and insertOrSkip() methods for seeds
  • Check constraints - Add CHECK constraints to columns
  • Table partitioning - MySQL and PostgreSQL partition support via partitionBy()
  • MySQL ALTER optimizations - ALGORITHM and LOCK options for zero-downtime schema changes
  • Default value expressions - Support for CURRENT_DATE, CURRENT_TIME, etc. as defaults
  • Bake improvements - Default value syntax support in migration bake commands

API Improvements

  • Short seed names - Use Users instead of UsersSeed everywhere
  • Seeds as command argument - bin/cake seeds run User instead of --seed User
  • --fake flag - Mark seeds as executed without running them
  • Consistent use of CakePHP Database classes (Column, Index, ForeignKey)

For details see docs and migration guide.

Full Changelog: cakephp/migrations@4.9.4...5.0.0

Commits
  • 5958b14 Merge branch '4.x' into 5.x
  • 94500da Backport bug fixes from 5.x branch (#1005)
  • 937e915 Improve type safety in nullable detection and comparisons (#1004)
  • a6f66aa Fix release readiness issues for 5.x (#1001)
  • bf08df2 Improve SQL quoting and fix docblock issues (#1003)
  • 49b3db5 Quote database names in PostgreSQL and SQL Server adapters (#1002)
  • 9ca3cad Merge remote-tracking branch 'origin/4.x' into 5.x
  • d0f5e3c Merge pull request #1000 from cakephp/binary-column-mysql
  • 8f07c53 Fix small binary column creation
  • f1ec4ef Merge pull request #997 from cakephp/docs/5x-improvements
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.0)

---
updated-dependencies:
- dependency-name: cakephp/migrations
  dependency-version: 5.0.0
  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 Jan 24, 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.

1 participant