1
0
mirror of synced 2025-03-06 12:56:10 +03:00

Fix incorrect YAML example for versioning a field.

This commit is contained in:
Richard Henry 2017-04-15 00:11:39 +01:00
parent 7c5b27da2c
commit 6b6c300319

View File

@ -213,9 +213,9 @@ example we'll use an integer.
User:
type: entity
fields:
version:
version:
type: integer
version: true
Alternatively a datetime type can be used (which maps to a SQL
timestamp or datetime):