php-qa-tools
php-qa-tools copied to clipboard
Update robmorgan/phinx requirement from ^0.10 to ^0.13
Updates the requirements on robmorgan/phinx to permit the latest version.
Release notes
Sourced from robmorgan/phinx's releases.
0.13.0
Breaking Changes
- set column null by default unless identity by
@MasterOdin
in #1872- remove remove
$direction
argument topreFlightCheck
andpostFlightCheck
(useisMigratingUp
property) by@MasterOdin
in #1892- make
utf8mb4
default charset and collation for new mysql tables by@MasterOdin
in #1875 (Setcharset
andcollation
setting in phinx.php toutf8mb3
for prior behavior)- make default PKs for mysql unsigned by default by
@MasterOdin
in #1899. When defining foreign keys, you will need to now need to set$signed => false
. To restore prior behavior, pass$signed => true
when defining the default PK.- Add type hints to codebase by
@MasterOdin
in #1995 (This does not affect theup
,down
, orchange
methods forAbstractMigration
. If you extend from phinx, you will need to add type hinting to your code)- remove deprecated hasSchemaTable function from
AdapterInterface
by@MasterOdin
in #1877- remove deprecated
insert
,dropTable
methods fromMigrationInterface
by@MasterOdin
in #1878- Do not set code when recasting PDOException when connecting to DB by
@MasterOdin
in #2101- Implement identity in
PostgresAdapter
by@ajibarra
in #2085 (identity columns for postgres 10+ now be generated asINTEGER NOT NULL GENERATED ALWAYS AS IDENTITY
instead ofSERIAL NOT NULL
)Deprecations
- Deprecate the
default_migration_table
config setting, usemigration_table
instead by@MasterOdin
in #1961New Features
- add createSchema and dropSchema methods on MigrationInterface by
@MasterOdin
in #1871Improvements
- remove check on column type for setting collation / encoding by
@Masterodin
in #1881- trigger deprecation notice when using default_database by
@MasterOdin
in #1890 (function had been marked as deprecated in 0.12.0)- add support for smallserial alias for postgres by
@MasterOdin
in #1915 (note, usingsmallinteger
on an identity column will now use the typesmallserial
)- allow setting migration_table per environment by
@MasterOdin
in #1961- Add new
shouldExecute
method toAbstractMigration
andAbstractSeed
by@AdrienPoupa
in #1939- Add for geometry column type to
SqlServerAdapter
by@tedce
in #1969- Add optional
$params
argument to query/execute adapter methods to allow usage of prepared queries by@MasterOdin
in #1962- Allow specifying template style for create command by
@MasterOdin
in #2013 (note, the name of the base migration file has changed, argument has changed forAbstractCommand::getMigrationTemplateFilename
)- Improve associative array phpdocs by
@dereuromark
in #2034- Pass environment to seed from manager by
@martenb
in #2102 (note, parameter change toManager::getSeeds
method)
Commits
c4d7f05
Merge branch '0.x' into 0.next6eb0f29
Fix defaultName deprecation warning on symfony/console 6.1 (#2107)4fc4043
Fix failing mysql tests (#2108)d489db8
Implement identity in PostgresAdapter (#2085)f067f37
Pass environment to seed from manager (#2102)18bf93e
Merge branch '0.x' into 0.next9ba5deb
Do not set code when recasting PDOException (#2101)9a6ce1e
Fix SqlServerAdapter returning empty string instead of null for column defaul...1772144
Merge pull request #2100 from cakephp/0.next-merge97721d7
Merge branch '0.x' into 0.next-merge- 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 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)