mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Update index version to force reindex, note in release notes
This commit is contained in:
parent
7ace9eb325
commit
e625ac21c3
2 changed files with 4 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ django_checks() {
|
|||
|
||||
search_index() {
|
||||
|
||||
local -r index_version=1
|
||||
local -r index_version=2
|
||||
local -r index_version_file=${DATA_DIR}/.index_version
|
||||
|
||||
if [[ (! -f "${index_version_file}") || $(<"${index_version_file}") != "$index_version" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue