|
|
@@ -8,7 +8,7 @@ import (
|
|
|
type Channel struct {
|
|
|
Id int `json:"id"`
|
|
|
Type int `json:"type" gorm:"default:0"`
|
|
|
- Key string `json:"key" gorm:"not null;index"`
|
|
|
+ Key string `json:"key" gorm:"not null"`
|
|
|
OpenAIOrganization *string `json:"openai_organization"`
|
|
|
Status int `json:"status" gorm:"default:1"`
|
|
|
Name string `json:"name" gorm:"index"`
|