Skip to content

Commit

Permalink
Merge pull request #1435 from lat-lon/fixTableInIndex-15
Browse files Browse the repository at this point in the history
Fix table name in generated create index statement
  • Loading branch information
copierrj authored Dec 14, 2022
2 parents c91ef34 + 961f38f commit ea8f97f
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 ea8f97f

Please sign in to comment.