.. include:: /Includes.rst.txt .. _bugfix-1792967157: ================================================================ Bugfix: Read the tables and columns of Horilla 2.1 in the import ================================================================ Description =========== The import of Horilla queried tables and columns that Horilla 2.1 does not have, so the stages for accounts, invitations and weekly off days failed on a real database. It now reads the users from ``horilla_auth_horillauser``, the companies of a weekly off day from ``base_companyleaves_company_id`` and no longer asks for the colour of a leave type. A weekly off day of several companies becomes a rule in each of them, one of no company is skipped and reported. The preflight also checks the applied migrations of the ``horilla_auth`` app. A test compares the tables of the test source with the columns of Horilla 2.1.8, so they cannot drift apart again. Impact ====== The ``horilla-migrations.txt`` of the mapping directory must list the ``horilla_auth`` migrations as well. .. index:: Backend