Files
2026-05-06 10:14:55 +03:00

18 lines
411 B
Go

// Package migrations exposes the goose migrations applied at backend startup.
package migrations
import (
"embed"
"io/fs"
)
//go:embed *.sql
var migrationFiles embed.FS
// Migrations returns the embedded goose migration filesystem. Migration files
// sit at the FS root, so callers pass "." as the directory argument to
// galaxy/postgres.RunMigrations.
func Migrations() fs.FS {
return migrationFiles
}