summaryrefslogtreecommitdiff
path: root/db/migrations_embedded.go
blob: 93741676063f0f0880a43d4667dd818bb43029af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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",
	}
}