From b2c5e15955827bab731cec6308bea4346a351a25 Mon Sep 17 00:00:00 2001 From: Zhang Dongliang Date: Mon, 12 Aug 2019 17:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=20actionlog=20=E7=9A=84=20tenent=5Fid?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5=E5=8A=A0=E7=B4=A2=E5=BC=95=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E5=8D=87=20actionlog=20=E6=9F=A5=E8=AF=A2=E9=80=9F?= =?UTF-8?q?=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/cloudcommon/db/opslog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cloudcommon/db/opslog.go b/pkg/cloudcommon/db/opslog.go index 8f65c3b6cc..1261a51cb1 100644 --- a/pkg/cloudcommon/db/opslog.go +++ b/pkg/cloudcommon/db/opslog.go @@ -227,8 +227,8 @@ type SOpsLog struct { Action string `width:"32" charset:"utf8" nullable:"false" list:"user" create:"required"` //= Column(VARCHAR(32, charset='ascii'), nullable=False) Notes string `width:"2048" charset:"utf8" list:"user" create:"required"` // = Column(VARCHAR(2048, charset='utf8')) - ProjectId string `name:"tenant_id" width:"128" charset:"ascii" list:"user" create:"required"` // = Column(VARCHAR(ID_LENGTH, charset='ascii')) - Project string `name:"tenant" width:"128" charset:"utf8" list:"user" create:"required"` // tenant = Column(VARCHAR(128, charset='utf8')) + ProjectId string `name:"tenant_id" width:"128" charset:"ascii" list:"user" create:"required" index:"true"` // = Column(VARCHAR(ID_LENGTH, charset='ascii')) + Project string `name:"tenant" width:"128" charset:"utf8" list:"user" create:"required"` // tenant = Column(VARCHAR(128, charset='utf8')) ProjectDomainId string `name:"project_domain_id" default:"default" width:"128" charset:"ascii" list:"user" create:"required"` ProjectDomain string `name:"project_domain" default:"Default" width:"128" charset:"utf8" list:"user" create:"required"`