#324 fixed column type syntax for mysql

This commit is contained in:
Jan Prochazka
2022-08-07 10:17:32 +02:00
parent b565e981e4
commit ac3ec5c11e

View File

@@ -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) {