diff --git a/packages/basic.gblib/services/SystemKeywords.ts b/packages/basic.gblib/services/SystemKeywords.ts index 322574fb..f7c01248 100644 --- a/packages/basic.gblib/services/SystemKeywords.ts +++ b/packages/basic.gblib/services/SystemKeywords.ts @@ -2961,7 +2961,7 @@ export class SystemKeywords { }; // If the column is named 'id' or 'Id', set it as the primary key - if (col.toLowerCase() === 'id') { + if (col.toLowerCase() === 'id' || col.toLowerCase() === 'internal_id') { schema[col].primaryKey = true; } });