Skip to content

Revsion behaviour: naming conventions #9

@janriokrause

Description

@janriokrause

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions