1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tools/sandbox/yaml/Entities.User.dcm.yml

19 lines
304 B
YAML
Raw Normal View History

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