status-go/static/migrations
Andrea Maria Piana 1f6cccd0fc
Add enabling/disabling of installations (#1264)
This commit adds a list new table, installations, which is used to keep
track of which installation are active for a given identity key.

In general, we limit the number of installation that we keep
synchronized to 5, to avoid excessive usage of resources.

Any installation coming from our own identity, will have to be manually
enabled, otherwise we trust the other peer has correctly paired their
devices.

We use a timestamp to decide which installations to keep synchronized as
a logical clock would have make the creation of the bundle more
complicated, but this can always be converted to a logical clock at
later stages without breaking compatibility.
2018-11-06 09:05:32 +01:00
..
1536754952_initial_schema.down.sql
1536754952_initial_schema.up.sql
1539249977_update_ratchet_info.down.sql Add bundles.added signal & pairing endpoint (#1237) 2018-10-16 12:31:05 +02:00
1539249977_update_ratchet_info.up.sql Add bundles.added signal & pairing endpoint (#1237) 2018-10-16 12:31:05 +02:00
1540715431_add_version.down.sql Change handling of skipped/deleted keys & add version (#1261) 2018-11-05 20:00:04 +01:00
1540715431_add_version.up.sql Change handling of skipped/deleted keys & add version (#1261) 2018-11-05 20:00:04 +01:00
1541164797_add_installations.down.sql Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
1541164797_add_installations.up.sql Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
static.go