Commit Graph
7 Commits
Author SHA1 Message Date
ask ab2c853fd7 feat(db): migrate from MySQL to PostgreSQL
ci/woodpecker/push/woodpecker Pipeline was successful
Replace MySQL driver with pgx/v5 and pgxpool:
- Update sqlc to use postgresql engine
- Convert query.sql to PostgreSQL syntax ($1 params, CASE WHEN,
  ANY() arrays)
- Replace sql.DB with pgxpool.Pool throughout
- Change nullable types from sql.Null* to pgtype.*
- Update ID types from uint32 to int64 for PostgreSQL compatibility
- Delete MySQL-specific dynamic_connect.go
- Add opentelemetry.gowrap template for tracing
2026-05-24 01:51:42 -07:00
ask e316aeee99 db: less logging when opening a database connection
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2025-01-06 19:33:45 +01:00
ask 3a9879b793 ch: add healtcheck for logs database
continuous-integration/drone/push Build is passing
2025-01-06 19:21:17 +01:00
ask 801d685940 health: ping databases for health checks 2024-12-27 17:37:16 -08:00
ask 904f4b1df5 remove slightly less debugging 2024-11-03 07:15:25 +00:00
ask 1963aae0b7 Database config parameter 2023-07-08 22:15:03 -07:00
ask 18185090d1 wip 2023-05-07 00:01:00 -07:00