summaryrefslogtreecommitdiffstats
path: root/src/library/dao
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2021-01-04 18:46:27 +0100
committerDaniel Schürmann <daschuer@mixxx.org>2021-01-04 18:46:27 +0100
commitb7171a2b97f7671125abe6ebb8bfffd31ff3e14f (patch)
treefe1183c2054335bbe8b321dbb88a356aae7a1cbc /src/library/dao
parent4813d0ecab0eed0fece4a7a6868204ba151ea877 (diff)
LIBRARYTABLE_LOCATION to LIBRARYTABLE_LOCATION_ID because the column holds only a reference to the track locations table. Use the enum COLUMN_TRACKLOCATIONSTABLE_LOCATION instead of COLUMN_LIBRARYTABLE_NATIVELOCATION becase it points only to the id column. Delete also enums for non existing Playlist table columns.
Diffstat (limited to 'src/library/dao')
-rw-r--r--src/library/dao/playlistdao.h3
-rw-r--r--src/library/dao/trackschema.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/library/dao/playlistdao.h b/src/library/dao/playlistdao.h
index 2d4fcabeb4..77d9c06156 100644
--- a/src/library/dao/playlistdao.h
+++ b/src/library/dao/playlistdao.h
@@ -22,9 +22,6 @@ const QString PLAYLISTTABLE_DATEMODIFIED = "date_modified";
const QString PLAYLISTTRACKSTABLE_TRACKID = "track_id";
const QString PLAYLISTTRACKSTABLE_POSITION = "position";
const QString PLAYLISTTRACKSTABLE_PLAYLISTID = "playlist_id";
-const QString PLAYLISTTRACKSTABLE_LOCATION = "location";
-const QString PLAYLISTTRACKSTABLE_ARTIST = "artist";
-const QString PLAYLISTTRACKSTABLE_TITLE = "title";
const QString PLAYLISTTRACKSTABLE_DATETIMEADDED = "pl_datetime_added";
#define AUTODJ_TABLE "Auto DJ"
diff --git a/src/library/dao/trackschema.h b/src/library/dao/trackschema.h
index befc626e47..4a41101f5f 100644
--- a/src/library/dao/trackschema.h
+++ b/src/library/dao/trackschema.h
@@ -16,7 +16,7 @@ const QString LIBRARYTABLE_COMPOSER = "composer";
const QString LIBRARYTABLE_GROUPING = "grouping";
const QString LIBRARYTABLE_TRACKNUMBER = "tracknumber";
const QString LIBRARYTABLE_FILETYPE = "filetype";
-const QString LIBRARYTABLE_LOCATION = "location";
+const QString LIBRARYTABLE_LOCATION_ID = "location";
const QString LIBRARYTABLE_COMMENT = "comment";
const QString LIBRARYTABLE_DURATION = "duration";
const QString LIBRARYTABLE_BITRATE = "bitrate";