ignore instead of spam cli

This commit is contained in:
2025-07-27 13:46:39 +02:00
parent b8018363c8
commit 841a569da7
2 changed files with 15 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS Beatmap (
Tags TEXT DEFAULT '',
LastPlayed INTEGER DEFAULT 0,
Folder TEXT DEFAULT 'Unknown Folder',
UNIQUE (Artist, Title, MD5Hash, Difficulty, Folder)
UNIQUE (Artist, Title, MD5Hash, Difficulty, Folder) ON CONFLICT IGNORE
);
CREATE INDEX IF NOT EXISTS idx_beatmap_md5hash ON Beatmap(MD5Hash);