Initial commit

This commit is contained in:
Michael committed 2026-08-06 18:26:45 +12:00
commit b6014c6ffc
47 files changed
+4329

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// 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