File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ func (the *CasbinRule) TableName() string {
3737
3838// CasbinRule .
3939type CasbinRule struct {
40- Ptype string `xorm:"varchar(100) index not null default ''"`
41- V0 string `xorm:"varchar(100) index not null default ''"`
42- V1 string `xorm:"varchar(100) index not null default ''"`
43- V2 string `xorm:"varchar(100) index not null default ''"`
44- V3 string `xorm:"varchar(100) index not null default ''"`
45- V4 string `xorm:"varchar(100) index not null default ''"`
46- V5 string `xorm:"varchar(100) index not null default ''"`
40+ Ptype string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
41+ V0 string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
42+ V1 string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
43+ V2 string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
44+ V3 string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
45+ V4 string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
46+ V5 string `xorm:"varchar(100) index(IF NOT EXISTS) not null default ''"`
4747
4848 tableName string `xorm:"-"`
4949}
You can’t perform that action at this time.
0 commit comments