Skip to content

Commit 57a150e

Browse files
alexander-schranzwachterjohannes
authored andcommitted
Fix compatibility with utf8mb4 (#48)
* fix compatibility with utf8mb4 * add branch alias for 2.0 * set develop branch as 2.0 dev
1 parent 1c341d7 commit 57a150e

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

UPGRADE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
UPGRADE
22
=======
33

4+
- [2.0.0](#2.0.0)
45
- [1.2.0](#1.2.0)
56
- [1.1.0](#1.1.0)
67
- [0.4.0](#0.4.0)
78

9+
### 2.0.0 (unreleased)
10+
11+
For the utf8mb4 compatibility with mysql some fields need to be shorten:
12+
13+
```bash
14+
bin/console doctrine:schema:update
15+
```
16+
817
### 1.2.0
918

1019
In the database table `ta_task_executions` a new field was introduced. Run following

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,11 @@
3636
"psr-4": {
3737
"Task\\TaskBundle\\Tests\\": "tests"
3838
}
39+
},
40+
"minimum-stability": "dev",
41+
"extra": {
42+
"branch-aliases": {
43+
"dev-develop": "2.0-dev"
44+
}
3945
}
4046
}

src/Resources/config/doctrine/Task.orm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<field name="intervalExpression" type="string" length="255" nullable="true"/>
1818
<field name="firstExecution" type="datetime" nullable="true"/>
1919
<field name="lastExecution" type="datetime" nullable="true"/>
20-
<field name="systemKey" type="string" nullable="true" unique="true"/>
20+
<field name="systemKey" type="string" nullable="true" unique="true" length="191"/>
2121
<field name="workload" type="object"/>
2222

2323
</entity>

0 commit comments

Comments
 (0)