bbs-go
bbs-go copied to clipboard
Error 1364: Field 'type' doesn't have a default value
test env
bbs-go version v3.1.3
mysql docker image --->mariadb/server:10.4
what i did
topic/create ---> 发表主题
log info
(/bbs-go/server/repositories/topic_repository.go:69)
[2020-06-26 09:27:03] Error 1364: Field 'type' doesn't have a default value
改下sql-model即可
已修复