Commit graph

2 commits

Author SHA1 Message Date
Neil Alexander 1bea7db60c
Use modernc.org/sqlite instead of github.com/mattn/go-sqlite3 2022-10-07 11:44:03 +01:00
Till 100fa9b235
Check unique constraint errors when manually inserting migrations (#2712)
This should avoid unnecessary logging on startup if the migration (were
we need `InsertMigration`) was already executed.
This now checks for "unique constraint errors" for SQLite and Postgres
and fails the startup process if the migration couldn't be manually
inserted for some other reason.
2022-09-13 08:07:43 +02:00
Renamed from internal/sqlutil/postgres.go (Browse further)