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

Revsion behaviour: naming conventions #9

Open
janriokrause opened this issue Sep 21, 2011 · 0 comments
Open

Revsion behaviour: naming conventions #9

janriokrause opened this issue Sep 21, 2011 · 0 comments

Comments

@janriokrause
Copy link

It would be appreciated if you stick to CakePHP's naming conventions. The current fields id and version_id have to be reconsidered.

id sould be: primary key, a simple "counter" -> auto increment
new field: MODEL_id is the relation to MODEL since the Revision model $belongsTo MODEL.

Mainly for beginners it would be much easier because they learn to use anothermodel_id to link to anothermodel with belongsTo/hasMany

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

No branches or pull requests

1 participant