aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/semaphore/files/patch-db_migrations.go
blob: fd90ab0ff007635fb099f6446bd014bc137fc2b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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) {