[migration] Move pyramid-related migration after "entities" table modifications
Otherwise, we getting into `add_entity_type('CWSession')` we try to insert a
CWEType without any 'asource' column (per 3.24's schema) whereas the backend
still wants it.
Closes #17054035.
.. _tools_module:
:mod:`cubicweb.pyramid.tools`
----------------------------
.. automodule:: cubicweb.pyramid.tools
.. autofunction:: includeme
.. autofunction:: clone_user
.. autofunction:: cnx_attach_entity
.. autofunction:: cached_build_user
.. autofunction:: clear_cache