Hi,

According to the example 
at 
http://www.doctrine-project.org/blog/doctrine2-behaviours-nutshell.html#versionable
The way to implement versionable behaviour is to add, among other things, 
the @version annotation to an integer/datetime value in the entity, ergo:

    /**
     * @Column(type="integer")
     * @version
     */
    private $version;


May I ask what is the equivalent statement in YAML?
I have tried with no success, the following:

  fields:
    version:
      type: integer
      version: true


Thanks!
CW

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to