mozilla/mentat

[db] Abstract over user_version to allow database sharing

Ouverte

#324 ouverte le 16 févr. 2017

 (1 commentaire) (0 réaction) (0 personne assignée)Rust (116 forks)github user discovery
A-coreenhancementhelp wantedhygieneready

Métriques du dépôt

Stars
 (1 661 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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