mozilla/mentat

[db] Abstract over user_version to allow database sharing

Open

#324 aperta il 16 feb 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (116 fork)github user discovery
A-coreenhancementhelp wantedhygieneready

Metriche repository

Star
 (1661 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor