Skip to content

Commit

Permalink
#15 - fixed table name in cretae index statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoltz committed Dec 7, 2022
1 parent 78a171d commit 961f38f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private List<StringBuffer> getGeometryCreate( GeometryMapping mapping, DBField d
StringBuffer indexSql = new StringBuffer( "CREATE INDEX " );
String idxName = createIdxName( table.getTable(), column );
indexSql.append( idxName );
indexSql.append( " ON " ).append( currentFtTable );
indexSql.append( " ON " ).append( table.getTable().toLowerCase() );
indexSql.append( " USING GIST (" ). append( column ).append( " ); " );
ddls.add( indexSql );
return ddls;
Expand Down

0 comments on commit 961f38f

Please sign in to comment.