// Package db embeds the SQL migration sets so a Go binary (cmd/provision-tenant) can stand up a complete // tenant database without shipping loose .sql files. The public schema migrations and the segregated EEO // migrations are embedded separately, mirroring the on disk split and the two goose version tables, so a // provisioned tenant database is byte for byte the same schema as the shared database. package db import "embed" // Migrations is the public schema migration set (db/migrations). // //go:embed migrations/*.sql var Migrations embed.FS // EEOMigrations is the segregated EEO schema migration set (db/migrations_eeo), kept out of the public // set so sqlc never models it and no public query can reference the eeo schema. // //go:embed migrations_eeo/*.sql var EEOMigrations embed.FS // Bootstrap is the cluster role bootstrap (db/bootstrap), which defines the missionmatch_app, // missionmatch_compliance, and missionmatch_migrator roles a tenant database grants to. // //go:embed bootstrap/*.sql var Bootstrap embed.FS