mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
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. |
||
|---|---|---|
| .. | ||
| migrate.go | ||
| migrate_test.go | ||
| sql.go | ||
| sqlutil.go | ||
| sqlutil_test.go | ||
| trace.go | ||
| trace_driver.go | ||
| trace_driver_wasm.go | ||
| unique_constraint.go | ||
| unique_constraint_wasm.go | ||
| uri.go | ||
| writer.go | ||
| writer_dummy.go | ||
| writer_exclusive.go | ||