- change field size of elm order(Mobile and Consignee).
This commit is contained in:
@@ -3,8 +3,8 @@ package models
|
|||||||
type ELMOrder struct {
|
type ELMOrder struct {
|
||||||
Id int
|
Id int
|
||||||
OrderId string `orm:"size(50);unique;null;column(orderid)"`
|
OrderId string `orm:"size(50);unique;null;column(orderid)"`
|
||||||
Consignee string `orm:"size(8)"`
|
Consignee string `orm:"size(32)"`
|
||||||
Mobile string `orm:"size(16)"`
|
Mobile string `orm:"size(32)"`
|
||||||
Data string `orm:"type(text);null"`
|
Data string `orm:"type(text);null"`
|
||||||
Type int `orm:"null"`
|
Type int `orm:"null"`
|
||||||
OrderCreatedAt string `orm:"size(50);index"`
|
OrderCreatedAt string `orm:"size(50);index"`
|
||||||
|
|||||||
Reference in New Issue
Block a user