feat(schema): M4.1 — tenant_registry schema + migrate binary
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
This commit was merged in pull request #6.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user