dendrite/userapi/storage/devices/postgres
Kegsay 4a7fb9c045
Automatically upgrade databases on startup (#1529)
* Support auto-upgrading accounts DB

* Auto-upgrade device DB deltas

* Support up/downgrading from cmd/goose

* Linting

* Create tables then do migrations then prepare statements

To avoid failing due to some things not existing

* Linting
2020-10-15 18:09:41 +01:00
..
deltas Automatically upgrade databases on startup (#1529) 2020-10-15 18:09:41 +01:00
devices_table.go Automatically upgrade databases on startup (#1529) 2020-10-15 18:09:41 +01:00
storage.go Automatically upgrade databases on startup (#1529) 2020-10-15 18:09:41 +01:00