diff --git a/core/data/utils.go b/core/data/utils.go index 7791f445e..d5f82fd3f 100644 --- a/core/data/utils.go +++ b/core/data/utils.go @@ -6,8 +6,8 @@ import ( log "github.com/sirupsen/logrus" ) -// mustExec will execute a SQL statement on a provided database instance. -func mustExec(s string, db *sql.DB) { +// MustExec will execute a SQL statement on a provided database instance. +func MustExec(s string, db *sql.DB) { stmt, err := db.Prepare(s) if err != nil { log.Fatal(err)