-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
type: bugDEPRECATED: replace with the "bug" issue typeDEPRECATED: replace with the "bug" issue type
Description
In lib/dialects/mysql/query-generator.js, the unique key index should quote the column names, instead of this:
if (!!options.uniqueKeys) {
Utils..each(options.uniqueKeys, function(columns) {
values.attributes += ", UNIQUE uniq" + tableName + '' + columns.fields.join('') + " (" + columns.fields.join(', ') + ")" // <--- here
})
}
Metadata
Metadata
Assignees
Labels
type: bugDEPRECATED: replace with the "bug" issue typeDEPRECATED: replace with the "bug" issue type