// Package migrations embeds the DB schema for both supported drivers so the // server can apply it on startup with no separate migrate step. // // Postgres uses versioned golang-migrate .sql files (PostgresFS). SQLite // uses one idempotent schema file applied directly (SQLiteSchemaSQL) — it's // a local dev/testing convenience DB, not something that needs migration // history. package migrations import "embed" //go:embed postgres/*.sql var PostgresFS embed.FS //go:embed sqlite/schema.sql var SQLiteSchemaSQL string