-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #393 from untangle/MFW-4989
Mfw 4989
- Loading branch information
Showing
2 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package database_settings | ||
|
||
type Database struct { | ||
Enabled bool `json:"enabled"` | ||
ID string `json:"id"` | ||
Database string `json:"db_name"` | ||
UserName string `json:"db_username"` | ||
Password string `json:"db_password"` | ||
PasswordEncrypted string `json:"db_password_encrypted"` | ||
Server string `json:"db_server"` | ||
Port int `json:"db_port"` | ||
Description string `json:"description"` | ||
Name string `json:"name"` | ||
Type string `json:"type"` | ||
ConnectionString string `json:"db_connection_string"` | ||
Default bool `json:"default"` | ||
Enabled bool `json:"enabled"` | ||
ID string `json:"id"` | ||
Database string `json:"db_name"` | ||
UserName *string `json:"db_username,omitempty"` | ||
Password *string `json:"db_password,omitempty"` | ||
PasswordEncrypted *string `json:"db_password_encrypted,omitempty"` | ||
Server *string `json:"db_server,omitempty"` | ||
Port *int `json:"db_port,omitempty"` | ||
Description string `json:"description"` | ||
Name string `json:"name"` | ||
Type string `json:"type"` | ||
ConnectionString string `json:"db_connection_string"` | ||
Default bool `json:"default"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters