0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 01:03:43 +01:00
dendrite/internal/sqlutil
Till 081f5e7226
Update database migrations, remove goose (#2264)
* Add new db migration

* Update migrations
Remove goose

* Add possibility to test direct upgrades

* Try to fix WASM test

* Add checks for specific migrations

* Remove AddMigration
Use WithTransaction
Add Dendrite version to table

* Fix linter issues

* Update tests

* Update comments, outdent if

* Namespace migrations

* Add direct upgrade tests, skipping over one version

* Split migrations

* Update go version in CI

* Fix copy&paste mistake

* Use contexts in migrations

Co-authored-by: kegsay <kegan@matrix.org>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-07-25 10:39:22 +01:00
..
migrate.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
migrate_test.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
postgres.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
postgres_wasm.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
sql.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
sqlutil.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
sqlutil_test.go Don't use more than 999 variables in SQLite querys. (#1425) 2020-09-14 16:39:38 +01:00
trace.go Upgrade various dependencies (#2496) 2022-05-26 12:34:43 +01:00
trace_driver.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
trace_driver_wasm.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
uri.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
writer.go Component-wide TransactionWriters (#1290) 2020-08-21 10:42:08 +01:00
writer_dummy.go Component-wide TransactionWriters (#1290) 2020-08-21 10:42:08 +01:00
writer_exclusive.go Track goids when running with tracing enabled (#1413) 2020-09-08 17:30:05 +01:00