mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 13:16:00 +00:00
#324 fixed column type syntax for mysql
This commit is contained in:
@@ -38,6 +38,8 @@ class Dumper extends SqlDumper {
|
|||||||
this.endCommand();
|
this.endCommand();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
autoIncrement() {}
|
||||||
|
|
||||||
specialColumnOptions(column) {
|
specialColumnOptions(column) {
|
||||||
if (column.isUnsigned) {
|
if (column.isUnsigned) {
|
||||||
this.put('^unsigned ');
|
this.put('^unsigned ');
|
||||||
@@ -45,6 +47,9 @@ class Dumper extends SqlDumper {
|
|||||||
if (column.isZerofill) {
|
if (column.isZerofill) {
|
||||||
this.put('^zerofill ');
|
this.put('^zerofill ');
|
||||||
}
|
}
|
||||||
|
if (column.autoIncrement) {
|
||||||
|
this.put('^auto_increment ');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
columnDefinition(col, options) {
|
columnDefinition(col, options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user