d66760b246
PLATFORM_ARCHITECTURE.md §5c schema as one initial migration: 6 tables + 4 enums + updated_at triggers. cmd/migrate binary (golang-migrate library, embedded SQL). testcontainers round-trip + seed + slug-constraint tests. Refs: M4.1
11 lines
281 B
Go
11 lines
281 B
Go
// Package migrations exposes the SQL migration files as an embed.FS so the
|
|
// migrate binary doesn't have to ship them as loose files at runtime.
|
|
package migrations
|
|
|
|
import "embed"
|
|
|
|
// FS holds every *.sql file in this directory at build time.
|
|
//
|
|
//go:embed *.sql
|
|
var FS embed.FS
|