Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'database/model/model.go')
-rw-r--r--database/model/model.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/model/model.go b/database/model/model.go
index 2e7095d3..767e12a9 100644
--- a/database/model/model.go
+++ b/database/model/model.go
@@ -86,7 +86,7 @@ func (i *Inbound) GenXrayInboundConfig() *xray.InboundConfig {
type Setting struct {
Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"`
- Key string `json:"key" form:"key"`
+ Key string `json:"key" form:"key" gorm:"column:key"`
Value string `json:"value" form:"value"`
}