- change field size of elm order(Mobile and Consignee).

This commit is contained in:
gazebo
2018-07-03 17:27:00 +08:00
parent c6088a7dd4
commit 7217d0cee7

View File

@@ -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"`