mozilla/mentat

[db] Abstract over user_version to allow database sharing

Open

#324 ouverte le 16 févr. 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Rust (116 forks)github user discovery
A-coreenhancementhelp wantedhygieneready

Métriques du dépôt

Stars
 (1 661 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Mentat uses a single integer, the SQLite user version, to handle base storage schema versioning. At some point it might be useful to abstract this a little, allowing the use of a separate table (à la the "table table" in Firefox for iOS) or other mechanism. This would allow Mentat to cooperatively store data inside an existing SQLite database owned by a conventional consumer.

Guide contributeur