- 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 {
Id int
OrderId string `orm:"size(50);unique;null;column(orderid)"`
Consignee string `orm:"size(8)"`
Mobile string `orm:"size(16)"`
Consignee string `orm:"size(32)"`
Mobile string `orm:"size(32)"`
Data string `orm:"type(text);null"`
Type int `orm:"null"`
OrderCreatedAt string `orm:"size(50);index"`