Solve gitea start database alarm

Original link: https://www.bboy.app/2023/04/28/%E8%A7%A3%E5%86%B3gitea%E5%90%AF%E5%8A%A8%E6%95%B0% E6%8D%AE%E5%BA%93%E5%91%8A%E8%AD%A6/

Introduction

I update almost every update of gitea in time, so I don’t know how many versions of gitea have been updated. Now when I start it, I often have the following warnings

table hook_task has column repo_id but struct has not related field

This article is reproduced from: https://www.bboy.app/2023/04/28/%E8%A7%A3%E5%86%B3gitea%E5%90%AF%E5%8A%A8%E6%95%B0% E6%8D%AE%E5%BA%93%E5%91%8A%E8%AD%A6/
This site is only for collection, and the copyright belongs to the original author.