diff --git a/packages/nocodb/src/helpers/columnHelpers.ts b/packages/nocodb/src/helpers/columnHelpers.ts index 99c46ee305..319ab6763f 100644 --- a/packages/nocodb/src/helpers/columnHelpers.ts +++ b/packages/nocodb/src/helpers/columnHelpers.ts @@ -203,6 +203,6 @@ export const generateFkName = (parent: TableType, child: TableType) => { .replace(/\W+/g, '_') .slice(0, 10)}_${child.table_name .replace(/\W+/g, '_') - .slice(0, 10)}_${randomID(15)}`; + .slice(0, 10)}_${randomID()}`; return constraintName; };