Merge pull request #9 from vulcanize/VDB322-Vow-storage-diff

Vdb322 vow storage diff
This commit is contained in:
Ian Norden
2019-02-15 11:04:22 -06:00
committed by GitHub
12 changed files with 1131 additions and 13 deletions
-2
View File
@@ -18,7 +18,6 @@ package postgres
import (
"errors"
"github.com/sirupsen/logrus"
"github.com/jmoiron/sqlx"
_ "github.com/lib/pq" //postgres driver
@@ -41,7 +40,6 @@ var (
func NewDB(databaseConfig config.Database, node core.Node) (*DB, error) {
connectString := config.DbConnectionString(databaseConfig)
logrus.Info("Using connection string: ", connectString)
db, err := sqlx.Connect("postgres", connectString)
if err != nil {
return &DB{}, ErrDBConnectionFailed