Skip to content

Fix checking references int non-foreign constraints#1070

Merged
markstory merged 1 commit intocakephp:3.xfrom
othercorey:patch-1
Feb 11, 2026
Merged

Fix checking references int non-foreign constraints#1070
markstory merged 1 commit intocakephp:3.xfrom
othercorey:patch-1

Conversation

@othercorey
Copy link
Contributor

Non-foreign constraints such as a check don't return columns. This simply defaults the columns array to fail the check.

@othercorey
Copy link
Contributor Author

@markstory I don't know if this changed with the new schema classes

@markstory
Copy link
Member

@othercorey I suspect this is related to the introduction of check constraints like you said.

@markstory markstory added this to the 3.x (CakePHP 5) milestone Feb 11, 2026
@markstory markstory merged commit f1b25a5 into cakephp:3.x Feb 11, 2026
9 checks passed
@othercorey
Copy link
Contributor Author

@othercorey I suspect this is related to the introduction of check constraints like you said.

Could you do a patch release with this? I keep having to patch vendor when I run update.

@LordSimal
Copy link
Contributor

Done https://github.com/cakephp/bake/releases/tag/3.6.1

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