Add console command for reloading index/schema (#13733)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen
2022-11-17 19:52:54 +01:00
committed by GitHub
parent cc3ac23ae0
commit 2f786b87b4
3 changed files with 34 additions and 16 deletions

View File

@@ -195,6 +195,12 @@ This happened:
In other words, extracting this information from the index before removing it, can be beneficial in order to understand the issues and possible causes.
#### Reload Index/Schema
Manual changes in the index table, `Items`, will not be picked up automatically for performance reasons.
The same is true when manually adding new item tables or deleting existing ones.
After making such changes, the command `jdbc reload` can be used to reload the index.
### For Developers
* Clearly separated source files for the database-specific part of openHAB logic.