fix: [db:workflows] Changed workflows.data from TEXT to LONGTEXT

Should fix issue  #8979
pull/9009/head
Sami Mokaddem 2023-03-30 10:42:22 +02:00
parent 1072912418
commit 8ec8f4b4f2
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 8 additions and 5 deletions

View File

@ -84,7 +84,7 @@ class AppModel extends Model
87 => false, 88 => false, 89 => false, 90 => false, 91 => false, 92 => false,
93 => false, 94 => false, 95 => true, 96 => false, 97 => true, 98 => false,
99 => false, 100 => false, 101 => false, 102 => false, 103 => false, 104 => false,
105 => false, 106 => false, 107 => false
105 => false, 106 => false, 107 => false, 108 => false,
);
const ADVANCED_UPDATES_DESCRIPTION = array(
@ -1947,6 +1947,9 @@ class AppModel extends Model
case 107:
$sqlArray[] = "ALTER TABLE `auth_keys` ADD `unique_ips` text COLLATE utf8mb4_unicode_ci";
break;
case 108:
$sqlArray[] = "ALTER TABLE `workflows` MODIFY `data` LONGTEXT;";
break;
case 'fixNonEmptySharingGroupID':
$sqlArray[] = 'UPDATE `events` SET `sharing_group_id` = 0 WHERE `distribution` != 4;';
$sqlArray[] = 'UPDATE `attributes` SET `sharing_group_id` = 0 WHERE `distribution` != 4;';

View File

@ -8868,11 +8868,11 @@
{
"column_name": "data",
"is_nullable": "YES",
"data_type": "text",
"character_maximum_length": "65535",
"data_type": "longtext",
"character_maximum_length": "4294967295",
"numeric_precision": null,
"collation_name": "utf8mb4_unicode_ci",
"column_type": "text",
"column_type": "longtext",
"column_default": null,
"extra": ""
}
@ -9472,5 +9472,5 @@
"uuid": false
}
},
"db_version": "106"
"db_version": "108"
}