DDC-442 - Fix example for timestamp optimistic lock
This commit is contained in:
parent
997ef97521
commit
2a1f5e121b
@ -118,7 +118,7 @@ You could also just as easily use a datetime column and instead of incrementing
|
|||||||
class User
|
class User
|
||||||
{
|
{
|
||||||
// ...
|
// ...
|
||||||
/** @Version @Column(type="integer") */
|
/** @Version @Column(type="datetime") */
|
||||||
private $version;
|
private $version;
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user