Rename Db's Tx to underlying

This commit is contained in:
Jeff Mitchell committed 2020-05-11 21:05:11 -04:00
1 parent 062ce6079f
commit ad8d4e9c80
3 files changed
+74 -70

No files matched your search

+1 -1
View File
@@ -384,7 +384,7 @@ func (b *Server) CreateDevDatabase(dialect string) error {
}
b.Database = dbase
rw := &db.Db{Tx: b.Database}
rw := db.New(b.Database)
repo, err := iam.NewRepository(rw, rw, b.ControllerKMS)
if err != nil {
c()