Fix an issue where additional users weren't being persisted

This commit is contained in:
Gary Kramlich
2022-02-28 00:32:19 -06:00
parent dc3bdc2cec
commit 44443b4079
4 changed files with 62 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ func New(dbType, uri string, maxOpenConns, maxIdleConns int, baseLog log.Logger)
dbLog := baseLog.Sub("Database")
if err := migrations.Run(conn, dbLog); err != nil {
if err := migrations.Run(conn, dbLog, dbType); err != nil {
return nil, err
}