[massive store] Lazy removal of constraints and metadata indexes
They should not be removed during store's init, because we may want to query the
database with its index between store creation and call to prepare_insert* (e.g.
to build the extid2eid map).
Along the way:
* rename drop_metadata_constraints into drop_metadata_indexes, because that's
what it does
* rework a bit impacted tests
Closes #15538359
Tutorials
~~~~~~~~~
We present a few tutorials of different levels. The blog building
tutorial introduces one smoothly to the basic concepts.
Then there is a photo gallery construction tutorial which highlights
more advanced concepts such as unit tests, security settings,
migration scripts.
.. toctree::
:maxdepth: 1
base/index
advanced/index
tools/windmill.rst
textreports/index
dataimport/index