You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
476 B
21 lines
476 B
6 years ago
|
App\Entity\Hero:
|
||
|
type: entity
|
||
|
repositoryClass: App\Entity\Repository\HeroRepository
|
||
|
table: hero
|
||
|
id:
|
||
|
id:
|
||
|
type: integer
|
||
|
generator: { strategy: AUTO }
|
||
|
fields:
|
||
|
name:
|
||
|
type: string
|
||
|
length: 32
|
||
|
unique: true
|
||
|
|
||
|
manyToOne:
|
||
|
user:
|
||
|
targetEntity: User
|
||
|
inversedBy: heroes
|
||
|
joinColumn:
|
||
|
onDelete: CASCADE
|
||
|
nullable: false
|