]> Raphaƫl G. Git Repositories - treebundle/blob - config/doctrine/Resource.orm.yml
Add bundle fixture
[treebundle] / config / doctrine / Resource.orm.yml
1 Rapsys\TreeBundle\Entity\Resource:
2 type: entity
3 repositoryClass: Rapsys\TreeBundle\Repository\ResourceRepository
4 table: resources
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 path:
14 type: string
15 length: 4096
16 nullable: true
17 created:
18 type: datetime
19 updated:
20 type: datetime
21 manyToOne:
22 user:
23 targetEntity: Rapsys\TreeBundle\Entity\User
24 inversedBy: resources
25 lifecycleCallbacks:
26 preUpdate: ['preUpdate']