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