不要怂,就是干,撸起袖子干!

Commit dbfe8a79 by Sascha Depold

Merge pull request #775 from coderbuzz/patch-1

Update query-generator.js
2 parents 98c151ad 08835afb
Showing with 1 additions and 1 deletions
......@@ -377,7 +377,7 @@ module.exports = (function() {
}, options || {})
return Utils._.compact([
"CREATE", options.indicesType, "INDEX", options.indexName,
"CREATE", options.indicesType, "INDEX IF NOT EXISTS", options.indexName,
(options.indexType ? ('USING ' + options.indexType) : undefined),
"ON", tableName, '(' + transformedAttributes.join(', ') + ')',
(options.parser ? "WITH PARSER " + options.parser : undefined)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!