Remove database-json #267

Merged
wojtek merged 7 commits from 248---replace-json-file-as-a-database-with-sqlite into main 2025-01-12 12:18:25 +01:00
2 changed files with 1 additions and 1 deletions
Showing only changes of commit e23547d7ae - Show all commits

View File

@ -122,7 +122,7 @@ impl ISqlTransactionBackend for SqlTransactionSqliteBackend<'_> {
fn create_albums_table(&self) -> Result<(), Error> { fn create_albums_table(&self) -> Result<(), Error> {
let mut stmt = self.prepare( let mut stmt = self.prepare(
"CREATE TABLE IF NOT EXISTS albums ( "CREATE TABLE IF NOT EXISTS albums (
title TEXT NOT NULL PRIMARY KEY, title TEXT NOT NULL,
lib_id JSON NOT NULL DEFAULT '\"None\"', lib_id JSON NOT NULL DEFAULT '\"None\"',
mbid JSON NOT NULL DEFAULT '\"None\"', mbid JSON NOT NULL DEFAULT '\"None\"',
artist_name TEXT NOT NULL, artist_name TEXT NOT NULL,

Binary file not shown.