How to fix the warning of table "project"?

env

  • gitea 1.18.5
  • mariadb 10.6.4

incomfortable warning logs in gitea.log

2023/05/11 07:27:37 routers/init.go:145:GlobalInitInstalled() [W] Table project column board_type db type is INT(11) UNSIGNED, struct type is INT UNSIGNED
2023/05/11 07:27:37 routers/init.go:145:GlobalInitInstalled() [W] Table project column type db type is INT(11) UNSIGNED, struct type is INT UNSIGNED

issue

  • which type should i set on column project.board_type in mariadb? i’m not familiar with golang type mapping with mysql …

According to developer, these warnings are bugs with upstream component and can safely be ignored.

Source: [1.18.0] SQL warnings on start-up, which can't be fixed by the doctor. · Issue #22275 · go-gitea/gitea · GitHub