mirror of https://github.com/mindoc-org/mindoc.git
fix:修复mysql兼容问题
parent
1b6c7e4793
commit
2460a32ac5
|
@ -15,7 +15,7 @@ import (
|
||||||
type Itemsets struct {
|
type Itemsets struct {
|
||||||
ItemId int `orm:"column(item_id);pk;auto;unique" json:"item_id"`
|
ItemId int `orm:"column(item_id);pk;auto;unique" json:"item_id"`
|
||||||
ItemName string `orm:"column(item_name);size(500)" json:"item_name"`
|
ItemName string `orm:"column(item_name);size(500)" json:"item_name"`
|
||||||
ItemKey string `orm:"column(item_key);size(200);unique" json:"item_key"`
|
ItemKey string `orm:"column(item_key);size(100);unique" json:"item_key"`
|
||||||
Description string `orm:"column(description);type(text);null" json:"description"`
|
Description string `orm:"column(description);type(text);null" json:"description"`
|
||||||
MemberId int `orm:"column(member_id);size(100)" json:"member_id"`
|
MemberId int `orm:"column(member_id);size(100)" json:"member_id"`
|
||||||
CreateTime time.Time `orm:"column(create_time);type(datetime);auto_now_add" json:"create_time"`
|
CreateTime time.Time `orm:"column(create_time);type(datetime);auto_now_add" json:"create_time"`
|
||||||
|
|
Loading…
Reference in New Issue