Commit graph

2 commits

Author SHA1 Message Date
Till Faelligen 024df5ef39 Use default value when adding column which is not null
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2020-10-09 13:10:35 +02:00
S7evinK 1cd525ef0d
Extend device_devices table (#1471)
* Add last_used_ts and IP to database

* Add migrations

* Rename column
Prepare statements

* Add interface method and implement it

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Rename struct fields

* Add user_agent to database

* Add userAgent to registration calls

* Add missing "IF NOT EXISTS"

* use txn writer

* Add UserAgent to Device

Co-authored-by: Kegsay <kegan@matrix.org>
2020-10-09 09:17:23 +01:00