Migration changes to song table
This commit is contained in:
@@ -38,10 +38,10 @@ CREATE TABLE IF NOT EXISTS "song" (
|
|||||||
-- TODO: Address discrepancy of date and year at some point
|
-- TODO: Address discrepancy of date and year at some point
|
||||||
-- date TEXT NOT NULL,
|
-- date TEXT NOT NULL,
|
||||||
year INT NOT NULL,
|
year INT NOT NULL,
|
||||||
track SMALLINT NOT NULL,
|
track INT NOT NULL,
|
||||||
disc SMALLINT NOT NULL,
|
disc INT NOT NULL,
|
||||||
track_count SMALLINT NOT NULL,
|
track_count INT NOT NULL,
|
||||||
disc_count SMALLINT NOT NULL,
|
disc_count INT NOT NULL,
|
||||||
duration INT NOT NULL,
|
duration INT NOT NULL,
|
||||||
audio_type TEXT NOT NULL,
|
audio_type TEXT NOT NULL,
|
||||||
date_created timestamptz DEFAULT now(),
|
date_created timestamptz DEFAULT now(),
|
||||||
|
|||||||
Reference in New Issue
Block a user