Compare commits

...

3 Commits

Author SHA1 Message Date
yuri 92fedd2c2e Merge branch 'hotfix/5.3.2' of ssh://172.20.0.1/var/git/espo/backend 2018-07-12 10:09:31 +03:00
Taras Machyshyn 0ec450d59d Schema bug fixes 2018-07-12 10:09:01 +03:00
yuri f0a1634f90 version 2018-07-12 10:03:04 +03:00
4 changed files with 5 additions and 6 deletions
@@ -180,8 +180,8 @@ class Converter
$schema = $this->getSchema(true);
$indexList = SchemaUtils::getIndexList($ormMeta, ['fulltext']);
$fieldListExceededIndexMaxLength = SchemaUtils::getFieldListExceededIndexMaxLength($ormMeta, $this->getMaxIndexLength(), $indexList);
$indexList = SchemaUtils::getIndexList($ormMeta);
$fieldListExceededIndexMaxLength = SchemaUtils::getFieldListExceededIndexMaxLength($ormMeta, $this->getMaxIndexLength());
$tables = array();
foreach ($ormMeta as $entityName => $entityParams) {
@@ -110,7 +110,7 @@ class Utils
$fields = array();
if (!isset($indexList)) {
$indexList = static::getIndexList($ormMeta);
$indexList = static::getIndexList($ormMeta, ['fulltext']);
}
foreach ($indexList as $entityName => $indexes) {
+1 -2
View File
@@ -65,8 +65,7 @@ class MysqlCharacter extends \Espo\Core\Services\Base
$sth->execute();
}
$indexList = SchemaUtils::getIndexList($ormMeta, ['fulltext']);
$fieldListExceededIndexMaxLength = SchemaUtils::getFieldListExceededIndexMaxLength($ormMeta, $maxIndexLength, $indexList);
$fieldListExceededIndexMaxLength = SchemaUtils::getFieldListExceededIndexMaxLength($ormMeta, $maxIndexLength);
foreach ($ormMeta as $entityName => $entityParams) {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "espocrm",
"version": "5.3.1",
"version": "5.3.2",
"description": "",
"main": "index.php",
"repository": {