mozilla/mentat

[db] Abstract over user_version to allow database sharing

Open

#324 opened on Feb 16, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (116 forks)github user discovery
A-coreenhancementhelp wantedhygieneready

Repository metrics

Stars
 (1,661 stars)
PR merge metrics
 (PR metrics pending)

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.

Contributor guide