mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 19:43:58 +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);
|
this.columnType(column.dataType);
|
||||||
|
|
||||||
if (column.autoIncrement) {
|
if (column.autoIncrement && !this.dialect?.disableAutoIncrement) {
|
||||||
this.autoIncrement();
|
this.autoIncrement();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user