mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[db] Update v19.05 to v19.06
- queue table: define id column as AUTOINCREMENT (requires drop+create) - queue table: add column queue_version - files table: update http-stream virtual paths (constructing the virtual path for http-streams changed in pr #449, this migrates existing databases to be consistent to the newly created paths)
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
|
||||
#define T_QUEUE \
|
||||
"CREATE TABLE IF NOT EXISTS queue (" \
|
||||
" id INTEGER PRIMARY KEY NOT NULL," \
|
||||
" id INTEGER PRIMARY KEY AUTOINCREMENT," \
|
||||
" file_id INTEGER NOT NULL," \
|
||||
" pos INTEGER NOT NULL," \
|
||||
" shuffle_pos INTEGER NOT NULL," \
|
||||
@@ -184,7 +184,8 @@
|
||||
" year INTEGER DEFAULT 0," \
|
||||
" track INTEGER DEFAULT 0," \
|
||||
" disc INTEGER DEFAULT 0," \
|
||||
" artwork_url VARCHAR(4096) DEFAULT NULL" \
|
||||
" artwork_url VARCHAR(4096) DEFAULT NULL," \
|
||||
" queue_version INTEGER DEFAULT 0" \
|
||||
");"
|
||||
|
||||
#define TRG_GROUPS_INSERT_FILES \
|
||||
|
||||
Reference in New Issue
Block a user