mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-29 17:51:56 -06:00
100fa9b235
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 |