Skip to content

Conversation

@lutdev
Copy link

@lutdev lutdev commented Dec 3, 2025

Fix for the issue - #2323
Original fix - https://github.com/cakephp/migrations/pull/955/files

Also changed version of PHP for Docker because project requires min 8.1 but there is 7.3 in the container

@lutdev
Copy link
Author

lutdev commented Dec 4, 2025

  • Fix tests

@MasterOdin
Copy link
Member

I'm not super familiar with this feature of mysql, but could you set the algorithm and lock for other operations when altering a table, like adding or removing an index?

@lutdev
Copy link
Author

lutdev commented Dec 4, 2025

I'm not super familiar with this feature of mysql, but could you set the algorithm and lock for other operations when altering a table, like adding or removing an index?

for most of operations, only "In Place" algorithm takes place) https://dev.mysql.com/doc/refman/8.4/en/innodb-online-ddl-operations.html
So, I think it's not possible to set an algorithm for such kind of operations. For example, I need it only when need to modify column. And without migrations it's a bit painful :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants