cacert-boardvoting/db/migrations_embedded.go

15 lines
285 B
Go
Raw Normal View History

package db
import (
"git.cacert.org/cacert-boardvoting/boardvoting"
"github.com/rubenv/sql-migrate"
)
func Migrations() migrate.MigrationSource {
return &migrate.AssetMigrationSource{
Asset: boardvoting.Asset,
AssetDir: boardvoting.AssetDir,
Dir: "migrations",
}
}