diff --git a/index.js b/index.js index 0a62b09..9b5dfda 100644 --- a/index.js +++ b/index.js @@ -151,6 +151,10 @@ var MysqlDriver = Base.extend({ } } + if (spec.comment) { + constraint.push('COMMENT \'' + spec.comment + '\'') + } + if (spec.foreignKey) { cb = this.bindForeignKey(tableName, columnName, spec.foreignKey);