Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement] Prevent db errors on index updates on classes rebuild (#…
…16871) * [db-errors] check if index exists, before adding or remove it * [db-errors] fix php code style by removing that foreach construct * [db-errors] use caps for SQL syntax Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * [db-errors] use $indexName instead of $columnName, because $columnName can contain quotes * [db-errors] fix typing of index exists db return value * [db-errors] refactor some $columnName variable to $indexName * [db-errors] chore: remove unused imports --------- Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
- Loading branch information
1 parent
9b560dc
commit fa5c318
Showing
1 changed file
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters