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
@MasterOdinin #1872- remove remove
$directionargument topreFlightCheckandpostFlightCheck(useisMigratingUpproperty) by@MasterOdinin #1892- make
utf8mb4default charset and collation for new mysql tables by@MasterOdinin #1875 (Setcharsetandcollationsetting in phinx.php toutf8mb3for prior behavior)- make default PKs for mysql unsigned by default by
@MasterOdinin #1899. When defining foreign keys, you will need to now need to set$signed => false. To restore prior behavior, pass$signed => truewhen defining the default PK.- Add type hints to codebase by
@MasterOdinin #1995 (This does not affect theup,down, orchangemethods forAbstractMigration. If you extend from phinx, you will need to add type hinting to your code)- remove deprecated hasSchemaTable function from
AdapterInterfaceby@MasterOdinin #1877- remove deprecated
insert,dropTablemethods fromMigrationInterfaceby@MasterOdinin #1878- Do not set code when recasting PDOException when connecting to DB by
@MasterOdinin #2101- Implement identity in
PostgresAdapterby@ajibarrain #2085 (identity columns for postgres 10+ now be generated asINTEGER NOT NULL GENERATED ALWAYS AS IDENTITYinstead ofSERIAL NOT NULL)Deprecations
- Deprecate the
default_migration_tableconfig setting, usemigration_tableinstead by@MasterOdinin #1961New Features
- add createSchema and dropSchema methods on MigrationInterface by
@MasterOdinin #1871Improvements
- remove check on column type for setting collation / encoding by
@Masterodinin #1881- trigger deprecation notice when using default_database by
@MasterOdinin #1890 (function had been marked as deprecated in 0.12.0)- add support for smallserial alias for postgres by
@MasterOdinin #1915 (note, usingsmallintegeron an identity column will now use the typesmallserial)- allow setting migration_table per environment by
@MasterOdinin #1961- Add new
shouldExecutemethod toAbstractMigrationandAbstractSeedby@AdrienPoupain #1939- Add for geometry column type to
SqlServerAdapterby@tedcein #1969- Add optional
$paramsargument to query/execute adapter methods to allow usage of prepared queries by@MasterOdinin #1962- Allow specifying template style for create command by
@MasterOdinin #2013 (note, the name of the base migration file has changed, argument has changed forAbstractCommand::getMigrationTemplateFilename)- Improve associative array phpdocs by
@dereuromarkin #2034- Pass environment to seed from manager by
@martenbin #2102 (note, parameter change toManager::getSeedsmethod)
Commits
c4d7f05Merge branch '0.x' into 0.next6eb0f29Fix defaultName deprecation warning on symfony/console 6.1 (#2107)4fc4043Fix failing mysql tests (#2108)d489db8Implement identity in PostgresAdapter (#2085)f067f37Pass environment to seed from manager (#2102)18bf93eMerge branch '0.x' into 0.next9ba5debDo not set code when recasting PDOException (#2101)9a6ce1eFix SqlServerAdapter returning empty string instead of null for column defaul...1772144Merge pull request #2100 from cakephp/0.next-merge97721d7Merge 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)