Tenant before ID on TPResources and TPStats

This commit is contained in:
TeoV
2017-09-15 17:02:22 +03:00
parent 37f1c66d1f
commit 73399bef7a
3 changed files with 9 additions and 9 deletions

View File

@@ -454,8 +454,8 @@ func (t TBLSMCosts) TableName() string {
type TpResource struct {
PK uint `gorm:"primary_key"`
Tpid string
ID string `index:"0" re:""`
Tenant string `index:"1" re:""`
Tenant string `index:"0" re:""`
ID string `index:"1" re:""`
FilterType string `index:"2" re:"^\*[A-Za-z].*"`
FilterFieldName string `index:"3" re:""`
FilterFieldValues string `index:"4" re:""`