mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 18:08:54 +00:00
* server DB migration to add persistence flag needed by ephemeral mode feature When Mobile Ephemeral Mode is enabled by an admin, database persistence using SQLite for a particular server is not always the case. If Zero Persistence mode is setup by an admin, the app won't persist anything on a disk backed database. If Offline wiping is setup for a particular server then, when the app is considered to be offline after a certain period of time the server databased is completely wiped. To accommodate these two local persistence new modes and make the UI react accordingly, a new flag is now added to the app database (since server database may not exist) with different enumerated values depending on server mandated settings. * Update types/database/models/app/servers.ts Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com> * adds test for updating the persistence flag --------- Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com> |
||
|---|---|---|
| .. | ||
| app-database-v1.pdf | ||
| app-database-v1.png | ||
| app-database-v1.rtf | ||
| app-database-v1.sql | ||
| app-database.md | ||