summaryrefslogtreecommitdiff
path: root/net-mgmt/semaphore/files/patch-db_sql_SqlDb.go
blob: 6dd218c282d33364ef5a934f1e76db9f876b8266 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- db/sql/SqlDb.go.orig	2022-02-24 18:36:46 UTC
+++ db/sql/SqlDb.go
@@ -28,7 +28,7 @@ create table ` + "`migrations`" + ` (
 	` + "`notes`" + ` text null
 );
 `
-var dbAssets = packr.NewBox("./migrations")
+var dbAssets = packr.NewBox("%%DATADIR%%")
 
 func containsStr(arr []string, str string) bool {
 	for _, a := range arr {