status-go/protocol/migrations
Pascal Precht dd49e604d4 feat: introduce new `joined` property in `Chat` struct
This property is useful for clients to know when a channel or chat
was joined so they can use that to calculate the order of channels
and chats shown in applications.

Changes include a new joined property on the Chat struct,
as well as adjustments in the persistence layer to retreive and
update chat data in the database.

In addition there's a migration script that alters the existing
chat table to introduce a new column for the joined field.
It also updates all existing rows in the database to set `joined`
to `0`.
2021-05-18 11:29:03 +02:00
..
sqlite feat: introduce new `joined` property in `Chat` struct 2021-05-18 11:29:03 +02:00
migrations.go feat: introduce new `joined` property in `Chat` struct 2021-05-18 11:29:03 +02:00