Update database schema

Also bump major version to match schema version
This commit is contained in:
2020-11-09 17:44:28 +01:00
parent a91266b705
commit a85d43b35d
12 changed files with 247 additions and 41 deletions

View File

@ -1,5 +1,8 @@
pub mod unversioned;
pub mod v1;
pub mod v2;
pub const SCHEMA_VERSION: unversioned::global::schema_version::V = 1;
pub use self::v1 as latest;
pub mod migrations;
pub const SCHEMA_VERSION: unversioned::global::schema_version::V = 2;
pub use v2 as latest;