@@ -6,22 +6,22 @@ |
||
6 | 6 | /* @var $metadata ClassMetadataInfo */ |
7 | 7 | $metadata->setInheritanceType(ClassMetadataInfo::INHERITANCE_TYPE_SINGLE_TABLE); |
8 | 8 | $metadata->setDiscriminatorColumn([ |
9 | - 'name' => 'discr', |
|
10 | - 'type' => 'string', |
|
11 | - 'length' => 32, |
|
9 | + 'name' => 'discr', |
|
10 | + 'type' => 'string', |
|
11 | + 'length' => 32, |
|
12 | 12 | ]); |
13 | 13 | $metadata->setDiscriminatorMap([ |
14 | - 'cube' => cube::class, |
|
14 | + 'cube' => cube::class, |
|
15 | 15 | ]); |
16 | 16 | $metadata->mapField([ |
17 | - 'fieldName' => 'id', |
|
18 | - 'type' => 'string', |
|
19 | - 'length' => NULL, |
|
20 | - 'precision' => 0, |
|
21 | - 'scale' => 0, |
|
22 | - 'nullable' => false, |
|
23 | - 'unique' => false, |
|
24 | - 'id' => true, |
|
25 | - 'columnName' => 'id', |
|
17 | + 'fieldName' => 'id', |
|
18 | + 'type' => 'string', |
|
19 | + 'length' => NULL, |
|
20 | + 'precision' => 0, |
|
21 | + 'scale' => 0, |
|
22 | + 'nullable' => false, |
|
23 | + 'unique' => false, |
|
24 | + 'id' => true, |
|
25 | + 'columnName' => 'id', |
|
26 | 26 | ]); |
27 | 27 | $metadata->setIdGeneratorType(ClassMetadataInfo::GENERATOR_TYPE_AUTO); |