From 02cecf6faaad5ee16b3afce21f2935f057bec9f3 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; } });