kekrozsak/vendor/doctrine/orm/tools/sandbox/yaml/Entities.User.dcm.yml
2012-07-23 17:09:03 +02:00

19 lines
304 B
YAML

Entities\User:
type: entity
table: users
id:
id:
type: integer
generator:
strategy: AUTO
fields:
name:
type: string
length: 50
oneToOne:
address:
targetEntity: Address
joinColumn:
name: address_id
referencedColumnName: id