π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: allow overriding id on at import
mertmit4720d8ede06d
diff --git a/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts b/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.tsindex 0713dd6036..20cfe955b5 100644--- a/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts+++ b/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts@@ -250,6 +250,8 @@ export async function importData(skip_hooks: true,foreign_key_checks: !!source.isMeta(),allowSystemColumn: true,+ // allow passing id+ undo: true,});logBasic(@@ -297,6 +299,8 @@ export async function importData(skip_hooks: true,foreign_key_checks: !!source.isMeta(),allowSystemColumn: true,+ // allow passing id+ undo: true,});logBasic(@@ -504,6 +508,8 @@ export async function importLTARData(skip_hooks: true,foreign_key_checks: !!source.isMeta(),allowSystemColumn: true,+ // allow passing id+ undo: true,});insertArray = [];@@ -548,6 +554,8 @@ export async function importLTARData(skip_hooks: true,foreign_key_checks: !!source.isMeta(),allowSystemColumn: true,+ // allow passing id+ undo: true,});importedCount += assocTableData[assocMeta.modelMeta.id].length;