aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/history/history.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 14:23:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 14:23:21 +0000
commit352fc8f8063d095788ce6f55f5969d1678ecf107 (patch)
treecee5229324921829a9135b70a5712d43b95af2d1 /src/plugins/General/history/history.cpp
parent87f088c76f029859fdbfa54e95bb074b41391fdd (diff)
downloadqmmp-352fc8f8063d095788ce6f55f5969d1678ecf107.tar.gz
qmmp-352fc8f8063d095788ce6f55f5969d1678ecf107.tar.bz2
qmmp-352fc8f8063d095788ce6f55f5969d1678ecf107.zip
library/history: using TEXT for DiscNumber column
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9636 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/history/history.cpp')
-rw-r--r--src/plugins/General/history/history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/history/history.cpp b/src/plugins/General/history/history.cpp
index 15c841c1d..89f732f05 100644
--- a/src/plugins/General/history/history.cpp
+++ b/src/plugins/General/history/history.cpp
@@ -120,7 +120,7 @@ bool History::createTables()
bool ok = query.exec("CREATE TABLE IF NOT EXISTS track_history(ID INTEGER PRIMARY KEY AUTOINCREMENT,"
"Timestamp TIMESTAMP NOT NULL,"
"Title TEXT, Artist TEXT, AlbumArtist TEXT, Album TEXT, Comment TEXT, Genre TEXT, Composer TEXT,"
- "Year INTEGER, Track INTEGER, DiscNumber INTEGER, Duration INTEGER, URL BLOB)");
+ "Year INTEGER, Track INTEGER, DiscNumber TEXT, Duration INTEGER, URL BLOB)");
if(!ok)
qWarning("History: unable to create table, error: %s", qPrintable(query.lastError().text()));