def METHOD_NAME(perform_migrations: PsqlDosMigrator):
    """
    This test checks the correct migration of the settings.
    Setting records were used as an example from a typical settings table of Django EAV.
    """
    # starting revision
    perform_migrations.migrate_up('django@django_0036')
    # setup the database
    setting_model = perform_migrations.get_current_table('db_dbsetting')
    with perform_migrations.session() as session:
        kwargs: dict
        for idx, kwargs in enumerate((  # type: ignore[assignment]
            {
                'datatype': 'txt',
                'tval': 'test'
            },
            {
                'datatype': 'int',
                'ival': 1
            },
            {
                'datatype': 'bool',
                'bval': True
            },
            {
                'datatype': 'float',
                'fval': 1.0
            },
            {
                'datatype': 'date',
                'dval': datetime.fromisoformat('2022-01-01')
            }
        )):
            kwargs['tval'] = 'test'
            kwargs['description'] = 'description'
            kwargs['time'] = datetime.fromisoformat('2022-01-01')
            attr = setting_model(key=f'key_{idx}', **kwargs)
            session.add(attr)
            session.commit()
    # final revision
    perform_migrations.migrate_up('django@django_0037')
    setting_model = perform_migrations.get_current_table('db_dbsetting')
    with perform_migrations.session() as session:
        settings = {
            row[0]: row[1]
            for row in session.execute(select(setting_model.key, setting_model.val).order_by(setting_model.key)).all()
        }
    settings['key_4'] = datetime.fromisoformat(settings['key_4']).year
    assert settings == {'key_0': 'test', 'key_1': 1, 'key_2': True, 'key_3': 1.0, 'key_4': 2022}