Add auto-migration on database startup

- Embed migrations/001_initial.sql into the binary
- Run migrations automatically when connecting to database
- Uses CREATE TABLE IF NOT EXISTS for idempotent execution
This commit is contained in:
Mondo Diaz
2025-12-05 16:56:13 -06:00
parent 924655961a
commit 4d61a13e26
3 changed files with 179 additions and 2 deletions

BIN
orchard-server Executable file

Binary file not shown.