diff --git a/workflow/engine/controllers/pmTablesProxy.php b/workflow/engine/controllers/pmTablesProxy.php index d79b5fa9e..2d8b522fb 100755 --- a/workflow/engine/controllers/pmTablesProxy.php +++ b/workflow/engine/controllers/pmTablesProxy.php @@ -259,7 +259,12 @@ class pmTablesProxy extends HttpProxyController // VALIDATIONS if ($columns[$i]->field_autoincrement) { - if ($columns[$i]->field_type !== 'INTEGER') { + $typeCol = $columns[$i]->field_type; + if (! ($typeCol === 'INTEGER' || + $typeCol === 'TINYINT' || + $typeCol === 'SMALLINT' || + $typeCol === 'BIGINT') + ) { $columns[$i]->field_autoincrement = false; } }