Skip to content

Commit

Permalink
schema updated todo task
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Mar 15, 2023
1 parent b098934 commit 4cd5425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/orm/schema/grammars/postgresschemagrammar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ QVector<QString>
PostgresSchemaGrammar::compileSpatialIndex(const Blueprint &blueprint,
const IndexCommand &command) const
{
// CUR schema, get rid of all const_cast<> in schema grammars, this is only one from all compileXyz() methods which needs to modify the command, if there will be also another commands that need to modify the command then make the command non-const silverqx
// TODO schema, get rid of all const_cast<> in schema grammars, this is only one from all compileXyz() methods which needs to modify the command, if there will be also another commands that need to modify the command then make the command non-const silverqx
const_cast<IndexCommand &>(command).algorithm = QStringLiteral("gist");

return compileIndex(blueprint, command);
Expand Down

0 comments on commit 4cd5425

Please sign in to comment.