# Project 表的 board\_type 和 type 字段应设置什么类型？

**URL:** <https://forum.gitea.com/t/project-board-type-type/7254>\
**Category:** 中文求助(Chinese Only)\
**Created:** [May 10, 2023, 11:45pm UTC](https://forum.gitea.com/t/project-board-type-type/7254 "2023-05-10T23:45:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![colbenlee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/colbenlee/32/3682_2.png) [@colbenlee](https://forum.gitea.com/u/colbenlee)\
**Post date:** [May 10, 2023, 11:45pm UTC](https://forum.gitea.com/t/project-board-type-type/7254/1 "2023-05-10T23:45:03Z")

</div>

# 环境

- gitea 1.18.5
- mariadb 10.6.4

# gitea.log 中看着难受的警告日志

```auto
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

```

# 问题

- golang 里的 int unsigned 类型，对应的 mysql 中的哪种类型？

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [September 21, 2023, 10:48am UTC](https://forum.gitea.com/t/project-board-type-type/7254/2 "2023-09-21T10:48:25Z")

</div>

这是一个错误的警告，可以忽略掉的。。。。
