Files
DiunDashboard/cmd/diunwebhook/main.go
Jean-Luc Makiola 4f60f1c9a0 feat(03-02): wire DATABASE_URL branching in main.go and fix cross-dialect UNIQUE detection
- Add DATABASE_URL env var branching: pgx/PostgreSQL when set, SQLite when absent
- Blank-import github.com/jackc/pgx/v5/stdlib to register 'pgx' driver
- Log 'Using PostgreSQL database' or 'Using SQLite database at {path}' on startup
- Replace RunMigrations with RunSQLiteMigrations (rename from Plan 01)
- Fix TagsHandler UNIQUE detection to use strings.ToLower for cross-dialect compat
2026-03-24 09:16:25 +01:00

2.4 KiB