Error 1061: Duplicate key name 'ix_cards_build'

Hello!

After restarting drone v2.0 container, it logs the following error:

{
  "error": "Error 1061: Duplicate key name 'ix_cards_build'",
  "level": "fatal",
  "msg": "main: cannot initialize server",
  "time": "2021-10-29T10:55:01Z"
}

Need help to investigate & fix this.

Regards,
Timofei

Connected to the database and dropped the index ix_cards_build in table cards, then the server started normally.