Bots API fails on the latest master instance

Description

On the latest master instance, when we navigate to Integrations > Bot Accounts page, it makes an API request to the endpoint '/api/v4/bots'. This API endpoint returns a 500 error with the message

detailed_error: "sql: Scan error on column index 5, name "LastIconUpdate": converting NULL to int64 is unsupported"

As a result, the Bot Accounts page is not rendered and shows a Loading icon forever.

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Rohitesh Gupta

Epic Link

None

Fix versions

None

Mattermost Team

Toolkit

Sprint

None

Labels

None

QA Testing Areas

Integrations

GitHub Issue

None

Components

None

Severity

None
Configure