mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 23:48:27 +00: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 |