File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 1.4.0-RC1
5
+ ---------
6
+
7
+ * ** 2016-01-09** : [ ORM] Hardcoded some column names to match what we index on to avoid
8
+ issues with non-default ` orm.naming_strategy ` . It is now safe to use a non-default
9
+ naming strategy. If you did a workaround to use a naming strategy, you might need to
10
+ look into that.
4
11
* ** 2015-10-28** : Deprecated ` cmf_routing.dynamic.persistence.phpcr.route_basepath `
5
12
setting and parameter in favor of ` cmf_routing.dynamic.persistence.phpcr.route_basepaths ` .
6
13
The old names will be kept for BC reasons and removed in 2.0.
7
14
15
+ 1.3.0
16
+ -----
17
+
8
18
1.3.0-RC1
9
19
---------
10
20
Original file line number Diff line number Diff line change 4
4
5
5
<mapped-superclass name =" Symfony\Cmf\Bundle\RoutingBundle\Model\Route" >
6
6
<field name =" variablePattern" type =" string" nullable =" true" />
7
- <field name =" staticPrefix" type =" string" nullable =" true" />
7
+ <!-- we hardcode the column name to overwrite column naming strategies as we have to define the index on the column name -->
8
+ <field name =" staticPrefix" type =" string" nullable =" true" column =" staticPrefix" />
8
9
9
10
<indexes >
10
- <index name =" name_idx" columns =" name" />
11
11
<index name =" prefix_idx" columns =" staticPrefix" />
12
12
</indexes >
13
13
</mapped-superclass >
Original file line number Diff line number Diff line change 8
8
<generator strategy =" AUTO" />
9
9
</id >
10
10
11
- <field name =" name" type =" string" unique =" true" />
11
+ <!-- we hardcode the column name to overwrite column naming strategies as we have to define the index on the column name -->
12
+ <field name =" name" type =" string" unique =" true" column =" name" />
12
13
<field name =" position" type =" integer" />
13
14
15
+ <indexes >
16
+ <index name =" name_idx" columns =" name" />
17
+ </indexes >
18
+
14
19
</entity >
15
20
16
21
</doctrine-mapping >
You can’t perform that action at this time.
0 commit comments