mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 10:46:00 +00:00
preloaded rows works with autoinc columns (fix for mssql)
This commit is contained in:
@@ -368,7 +368,8 @@ function planTablePreload(plan: AlterPlan, oldTable: TableInfo, newTable: TableI
|
||||
oldTable?.preloadedRows,
|
||||
newTable.preloadedRows,
|
||||
key,
|
||||
newTable.preloadedRowsInsertOnly
|
||||
newTable.preloadedRowsInsertOnly,
|
||||
newTable.columns.find(x => x.autoIncrement)?.columnName
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user