Allow disc_number to be a string (1/2, 2/2, for example).
This commit is contained in:
@ -17,7 +17,7 @@ CREATE INDEX albums_name_idx ON albums(name);
|
||||
CREATE TABLE media_files (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name VARCHAR NOT NULL,
|
||||
disc_number INTEGER NOT NULL DEFAULT 1,
|
||||
disc_number VARCHAR NOT NULL DEFAULT '1',
|
||||
track_number INTEGER,
|
||||
play_count INTEGER NOT NULL DEFAULT 0,
|
||||
file_path VARCHAR NOT NULL,
|
||||
|
Reference in New Issue
Block a user