Able to manage channels now
This commit is contained in:
1 parent
9ca6adf4a1
commit
28e8e89e28
9 files changed
+196
-216
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ type Channel struct {
|
||||
Type int `json:"type" gorm:"default:0"`
|
||||
Key string `json:"key"`
|
||||
Status int `json:"status" gorm:"default:1"`
|
||||
Name string `json:"name" gorm:"unique;index"`
|
||||
Name string `json:"name" gorm:"index"`
|
||||
Weight int `json:"weight"`
|
||||
CreatedTime int64 `json:"created_time" gorm:"bigint"`
|
||||
AccessedTime int64 `json:"accessed_time" gorm:"bigint"`
|
||||
|
||||
Reference in new issue
Block a user