mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat: add enabled/disabled field to environment model #169
This commit is contained in:
parent
cc5d2be1bd
commit
b429c15893
17 changed files with 250 additions and 240 deletions
|
@ -10,6 +10,7 @@ type Environment struct {
|
|||
Name string `json:"name"`
|
||||
URL string `json:"url"`
|
||||
Token string `json:"token"`
|
||||
Enabled bool `json:"enabled" gorm:"default:true"`
|
||||
OperationSync bool `json:"operation_sync"`
|
||||
SyncApiRegex string `json:"sync_api_regex"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue