File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <a name =" 2.0.1 " ></a >
2+ ## [ 2.0.1] ( https://github.com/db-migrate/cockroachdb/compare/v2.0.0...v2.0.1 ) (2018-03-31)
3+
4+
5+ ### Bug Fixes
6+
7+ * ** index:** fix missing quotes ([ ad3ccd9] ( https://github.com/db-migrate/cockroachdb/commit/ad3ccd9 ) )
8+
9+
10+
111<a name =" 2.0.0 " ></a >
212# [ 2.0.0] ( https://github.com/db-migrate/cockroachdb/compare/v1.4.3...v2.0.0 ) (2018-03-31)
313
Original file line number Diff line number Diff line change @@ -347,9 +347,10 @@ var CockroachDriver = Base.extend({
347347 var columnString = columns
348348 . map ( column => {
349349 if ( typeof column === "object" ) {
350- return this . escapeDDL ( column . name ) + ( column . DESC === true )
351- ? " DESC"
352- : " ASC" ;
350+ return (
351+ this . escapeDDL ( column . name ) +
352+ ( column . DESC === true ? " DESC" : " ASC" )
353+ ) ;
353354 } else {
354355 return this . escapeDDL ( column ) ;
355356 }
You can’t perform that action at this time.
0 commit comments