1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tools/sandbox/yaml/Entities.User.dcm.yml

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