17 lines
404 B
Go
17 lines
404 B
Go
// Package oss is used to embed the sql statements for the oss edition and
|
|||
|
|
// registering the edition for the schema.Manager.
|
||
|
|
package oss
|
||
|
|
|
||
|
|
import (
|
||
|
|
"embed"
|
||
|
|
|
||
|
|
"github.com/hashicorp/boundary/internal/db/schema"
|
||
|
|
)
|
||
|
|
|
||
|
|
// postgres contains the migrations sql files for postgres oss edition
|
||
|
|
//go:embed postgres
|
||
|
|
var postgres embed.FS
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
schema.RegisterEdition("oss", schema.Postgres, postgres, 0)
|
||
|
|
}
|