File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -845,7 +845,7 @@ export class Parser {
845845
846846 let index = { index_name : "" , column : "" , unique : unique }
847847 if ( this . tt == TokenType . identifier ) {
848- index . index_name = < string > this . cct . value ;
848+ index . index_name = < string > this . cct . value + '_idx' ;
849849 this . nextToken ( ) ;
850850 } else {
851851 this . pushError ( "Erwartet wird der Bezeichner des Index." ) ;
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export class MySqlImporter {
162162 unique : index . unique ,
163163 position : null , endPosition : null , symbolTable : null
164164 } ,
165- sql : `create ${ index . unique ? 'unique ' : '' } index ${ index . index_name } on ${ tmn . tableIdentifier } (${ index . column } );` ,
165+ sql : `create ${ index . unique ? 'unique ' : '' } index ${ index . index_name } on ${ tmn . tableIdentifier } (${ index . column } );` ,
166166 resultTypes : [ ]
167167 } )
168168 }
You can’t perform that action at this time.
0 commit comments