// 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
}
