Files
go-ssb-room/admindb/sqlite/migrations_dev.go
Henry fec92d428c change name to go-ssb-room
It has been brought to my attention that "gossb" reads like "gossip..?"
to the untrained eye. That's just confusing.

Also the project hosts a single room so the plural was just wrong.
2021-02-09 17:38:51 +01:00

24 lines
543 B
Go

// SPDX-License-Identifier: MIT
// +build dev
/*
This is the development version of the migrations folder, where they are read directly from the local filesystem.
to use this pass '-tags dev' to your go build or test commands.
*/
package sqlite
import (
"net/http"
"path/filepath"
"go.mindeco.de/goutils"
)
// absolute path of where this package is located
var pkgDir = goutils.MustLocatePackage("github.com/ssb-ngi-pointer/go-ssb-room/admindb/sqlite")
var Migrations http.FileSystem = http.Dir(filepath.Join(pkgDir, "migrations"))