[go: up one dir, main page]

rusqlite_migration 0.3.0

Simple schema migration tool for rusqlite using user_version instead of an SQL table to maintain the current schema version.
Documentation

Rusqlite Migrate

docs.rs Crates.io

Simple schema migration tool for rusqlite using user_version instead of an SQL table to maintain the current schema version.

2021-03-13: multiline migrations may quietly fail, due to #2. This is being worked on.

Benefit

Simplicity

There is a set of SQL statements and you just append to it to change the schema.

Speed

No need to add a table to be parsed, the user_version field is at a fixed offset in the sqlite file format.

Example

Please see examples/quick_start.rs.