Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/cake bake model ... not baking alibi relations anymore #9

Closed
passchn opened this issue Mar 10, 2023 · 2 comments
Closed

bin/cake bake model ... not baking alibi relations anymore #9

passchn opened this issue Mar 10, 2023 · 2 comments

Comments

@passchn
Copy link
Collaborator

passchn commented Mar 10, 2023

The cakephp/bake plugin from version 2.8 onwards detects that a table does not exist and will handle *_id fields as normal fields.

This is great, but a "bug" in the eyes of this plugin.

A temporary solution is to downgrade to version 2.7 if you don't want to write the code yourself.

See also: cakephp/bake#912

@passchn
Copy link
Collaborator Author

passchn commented Mar 10, 2023

Edit: The behaviour is different from v2.7.1 onwards, see PR: cakephp/bake#842

@passchn
Copy link
Collaborator Author

passchn commented Jun 8, 2023

Alibi relations can now be created with the option --skip-relation-check. See PR: cakephp/bake#913 and release 2.9.3 of the bake-plugin: https://github.com/cakephp/bake/releases/tag/2.9.3

@passchn passchn closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant