freebsd-ports/net-mgmt/semaphore/files/patch-db_migrations.go
Vinícius Zavam 66df13223a net-mgmt/semaphore: fix 'incomplete file list and wrong search path'
PR:		241655
Reported by:	marek % mky.waw.pl
2020-03-11 10:44:16 +00:00

11 lines
398 B
Go

--- db/migrations.go.orig 2020-02-10 17:37:11 UTC
+++ db/migrations.go
@@ -9,7 +9,7 @@ import (
log "github.com/Sirupsen/logrus"
)
-var dbAssets = packr.NewBox("./migrations")
+var dbAssets = packr.NewBox("/usr/local/share/semaphore")
// CheckExists queries the database to see if a migration table with this version id exists already
func (version *Version) CheckExists() (bool, error) {