Closed J-avery32 closed 3 years ago
I've changed my mind, since I can't log in.
Let's add a migration script. Shouldn't be too hard. In the scripts folder, please create a python script called "upgrade_v01.4.py". Have it use pymongo to search through every doc in every collection that doesn't have splash_md and add a stock one.
I think I rand the upgrade script, thanks. But, there should be some output! List every document that was upgraded, please. Oh wait, you're using update_many...I think there is some info that that about number of matches and number of updates. That would at least be good.
github won't let me push to this PR. Can you please edit requirements-dev.txt.
Remove
pytest-mongo
Addmongomock>=3.22