/
WorldCountry.orm.yml
44 lines (44 loc) · 1.1 KB
/
WorldCountry.orm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FrankProjects\UltimateWarfare\Entity\WorldCountry:
type: entity
table: world_country
uniqueConstraints:
unique_world_country:
columns: [ x, y, sector_id ]
id:
id:
type: integer
nullable: false
options:
unsigned: true
id: true
generator:
strategy: IDENTITY
fields:
x:
type: integer
nullable: false
options:
unsigned: true
y:
type: integer
nullable: false
options:
unsigned: true
image:
type: text
nullable: false
length: 65535
options:
fixed: false
oneToMany:
worldRegions:
targetEntity: WorldRegion
mappedBy: worldCountry
manyToOne:
worldSector:
targetEntity: WorldSector
inversedBy: worldCountries
joinColumn:
name: sector_id
referencedColumnName: id
lifecycleCallbacks: { }