Commit graph

8 commits

Author SHA1 Message Date
Neil Alexander f980ff267d
Drop primary keys in favour of new indices 2022-11-10 10:06:37 +00:00
Neil Alexander 786f008607
Try that again 2022-11-08 10:27:01 +00:00
Neil Alexander a32982cb7f
Fix some more things 2022-11-07 16:52:28 +00:00
Neil Alexander d1c61f5f95
Account data 2022-11-04 12:09:49 +00:00
Neil Alexander 7fd2c10975
Add server_name columns 2022-11-04 11:09:43 +00:00
Neil Alexander 3aa92efaa3
Namespace user API tables (#2806)
This migrates all the various user API tables, indices and sequences to
be `userapi_`-namespaced, rather than the mess they are all now.
2022-10-18 15:59:08 +01:00
Neil Alexander 9f4a39e8e0
Refactor user API storage (#2202)
* Refactor User API database

* Fix migration bugs
2022-02-18 13:51:59 +00:00
Neil Alexander 153bfbbea5
Merge both user API databases into one (#2186)
* Merge user API databases into one

* Remove DeviceDatabase from config

* Fix tests

* Try that again

* Clean up keyserver device keys when the devices no longer exist in the user API

* Tweak ordering

* Fix UserExists flag, device check

* Allow including empty entries so we can clean them up

* Remove logging
2022-02-18 11:31:05 +00:00
Renamed from userapi/storage/accounts/sqlite3/account_data_table.go (Browse further)