fix database pool json field and update patch version
This commit is contained in:
parent
252753eb38
commit
4a5db6be78
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## [v1.10.1] - 2019-03-27
|
||||
|
||||
- #219 Fix Database Pools json field - @sunny-b
|
||||
|
||||
## [v1.10.0] - 2019-03-20
|
||||
|
||||
- #215 Add support for Databases - @mikejholly
|
||||
|
|
|
@ -165,7 +165,7 @@ type DatabasePool struct {
|
|||
User string `json:"user"`
|
||||
Name string `json:"name"`
|
||||
Size int `json:"size"`
|
||||
Database string `json:"database"`
|
||||
Database string `json:"db"`
|
||||
Mode string `json:"mode"`
|
||||
Connection *DatabaseConnection `json:"connection"`
|
||||
}
|
||||
|
|
|
@ -614,7 +614,7 @@ func TestDatabases_ListPools(t *testing.T) {
|
|||
"user": "user",
|
||||
"size": 10,
|
||||
"mode": "transaction",
|
||||
"database": "db",
|
||||
"db": "db",
|
||||
"connection": {
|
||||
"uri": "postgresql://user:pass@host.com/db",
|
||||
"host": "host.com",
|
||||
|
@ -669,7 +669,7 @@ func TestDatabases_CreatePool(t *testing.T) {
|
|||
"user": "user",
|
||||
"size": 10,
|
||||
"mode": "transaction",
|
||||
"database": "db",
|
||||
"db": "db",
|
||||
"connection": {
|
||||
"uri": "postgresql://user:pass@host.com/db",
|
||||
"host": "host.com",
|
||||
|
@ -732,7 +732,7 @@ func TestDatabases_GetPool(t *testing.T) {
|
|||
"user": "user",
|
||||
"size": 10,
|
||||
"mode": "transaction",
|
||||
"database": "db",
|
||||
"db": "db",
|
||||
"connection": {
|
||||
"uri": "postgresql://user:pass@host.com/db",
|
||||
"host": "host.com",
|
||||
|
|
Loading…
Reference in New Issue