worldpossible / rachelplus

RACHEL Configuration on Intel CAP
18 stars 8 forks source link

bad db for some modules #58

Closed needlestack closed 8 years ago

needlestack commented 8 years ago

When we made the name format change to start with the language code, it broke the links in the db for the following modules:

en-hesperian_health/search/hesperian_health.db
en-infonet/search/infonet.db
en-law_library/search/law_library.db
en-medline_plus/search/medline_plus.db
en-oya/search/oya.db
en-practical_action/search/practical_action.db

I have updated these modules on dev so an rsync will fix it. Alternately, you can fix it with the following command:

sqlite3 [modname]/search/[dbname].db "update pages set url = 'en-'||url"

Sorry for the rigmarole related to this change. Will be more careful in the future.

spatiald commented 8 years ago

Rsync is the prob the safest and easiest. Thanks for the info!

spatiald commented 8 years ago

Believe sorted...reopen if necessary.