You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fititnt in principle the blank state comes already with the latest data structure so there is not need to run 'yarn migrate'. That said, its always safe to run migrate since it keeps track of the data version and won't alter anything if its already up to date.
So its safer to run it, in case a dev forgets to update the blank state after a breaking change, but the odds of that are super low.
Documented this strategy to do it on dockerized version. It is necessary because the normal run up we do not automate yarn migrate / yarn reindex, and in some cases (no major MongoDB/ElasticSearch database upgrade) this migth be sufficient.
docker compose run -e RUN_YARN_MIGRATE_REINDEX=true --rm uwazi
Pertinent change huridocs/uwazi@fcfc25e
The v1.4 now runs
yarn migrate
after./database/blank_state.sh
and beforeyarn reindex
.If this is one yes, a new change will need to be done at the https://github.com/fititnt/uwazi-docker/blob/master/docker-entrypoint.sh. This issue is just to confirm the need.
Edit: also impacts the #40
The text was updated successfully, but these errors were encountered: