diff --git a/src/external/database/serde/common.rs b/src/external/database/serde/common.rs index 2dfea05..e46b3de 100644 --- a/src/external/database/serde/common.rs +++ b/src/external/database/serde/common.rs @@ -5,8 +5,6 @@ use crate::core::collection::{ musicbrainz::MbRefOption, }; -pub const V20250103: &str = "V20250103"; - #[derive(Debug, Deserialize, Serialize)] #[serde(remote = "AlbumLibId")] pub enum AlbumLibIdDef { diff --git a/src/external/database/sql/mod.rs b/src/external/database/sql/mod.rs index c8ded2f..f215a5a 100644 --- a/src/external/database/sql/mod.rs +++ b/src/external/database/sql/mod.rs @@ -13,12 +13,13 @@ use crate::{ interface::database::{IDatabase, LoadError, SaveError}, }, external::database::serde::{ - common::V20250103, deserialize::{DeserializeAlbum, DeserializeArtist, DeserializeDatabase}, serialize::{SerializeAlbum, SerializeArtist, SerializeDatabase}, }, }; +const V20250103: &str = "V20250103"; + /// Trait for the SQL database backend. pub trait ISqlDatabaseBackend<'conn> { type Tx: ISqlTransactionBackend + 'conn;