CREATE TABLE IF NOT EXISTS track ( id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, path TEXT UNIQUE NOT NULL, album_artist TEXT NOT NULL, title TEXT NOT NULL, album TEXT NOT NULL, disc INTEGER[][], year INTEGER NOT NULL, artist TEXT NOT NULL, genre TEXT NOT NULL, lyrics TEXT NOT NULL, composer TEXT NOT NULL ); -- -- CREATE TABLE IF NOT EXISTS album -- ( -- id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, -- path TEXT UNIQUE -- ); CREATE TABLE IF NOT EXISTS artist ( id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name TEXT UNIQUE );