diff --git a/src/external/database/sql/backend.rs b/src/external/database/sql/backend.rs index 3bc9cb6..f7af8fe 100644 --- a/src/external/database/sql/backend.rs +++ b/src/external/database/sql/backend.rs @@ -122,7 +122,7 @@ impl ISqlTransactionBackend for SqlTransactionSqliteBackend<'_> { fn create_albums_table(&self) -> Result<(), Error> { let mut stmt = self.prepare( "CREATE TABLE IF NOT EXISTS albums ( - title TEXT NOT NULL PRIMARY KEY, + title TEXT NOT NULL, lib_id JSON NOT NULL DEFAULT '\"None\"', mbid JSON NOT NULL DEFAULT '\"None\"', artist_name TEXT NOT NULL, diff --git a/tests/files/database/database.db b/tests/files/database/database.db index 9fe47ad..bf7a0cb 100644 Binary files a/tests/files/database/database.db and b/tests/files/database/database.db differ