mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 20:35:59 +00:00
fix: prevent setting autoincrement when it is disabled in dialect
This commit is contained in:
@@ -253,7 +253,7 @@ export class SqlDumper implements AlterProcessor {
|
||||
|
||||
this.columnType(column.dataType);
|
||||
|
||||
if (column.autoIncrement) {
|
||||
if (column.autoIncrement && !this.dialect?.disableAutoIncrement) {
|
||||
this.autoIncrement();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user