π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: add undo option to prevent skipping autoincrement column
Pranav Cb7c1630b6609
diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.tsindex c3658cb4ac..f33d5636ad 100644--- a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts+++ b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts@@ -2202,6 +2202,8 @@ export class ImportService {chunkSize: chunk.length + 1,foreign_key_checks: !!destBase.isMeta(),raw: true,+ // this is to avoid skipping autoincrement column+ undo: true,});} catch (e) {// stop the stream@@ -2226,6 +2228,8 @@ export class ImportService {chunkSize: chunk.length + 1,foreign_key_checks: !!destBase.isMeta(),raw: true,+ // this is to avoid skipping autoincrement column+ undo: true,});} catch (e) {// stop the stream@@ -2267,6 +2271,8 @@ export class ImportService {chunkSize: 1000,foreign_key_checks: !!destBase.isMeta(),raw: true,+ // this is to avoid skipping autoincrement column+ undo: true,});lChunks[k] = [];} catch (e) {