15 lines
285 B
Go
15 lines
285 B
Go
|
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",
|
||
|
}
|
||
|
}
|