From d5761278b5b86b9d3b20086def741e810380d4d8 Mon Sep 17 00:00:00 2001 From: "me@rodrigorodriguez.com" Date: Thu, 17 Oct 2024 14:58:29 -0300 Subject: [PATCH] new(core.gbapp): LLM alerts for data. --- packages/basic.gblib/services/SystemKeywords.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } });