slowly but surely fixing routing and layout handling

Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
ari melody 2024-07-31 13:45:34 +01:00
parent 4b58a27fdc
commit a26bdfa646
5 changed files with 80 additions and 170 deletions

View file

@ -19,7 +19,7 @@ ALTER TABLE musicreleases ADD CONSTRAINT musicreleases_pk PRIMARY KEY (id);
CREATE TABLE IF NOT EXISTS musiclinks (
release character varying(64) NOT NULL,
name text NOT NULL,
url text,
url text
);
ALTER TABLE musiclinks ADD CONSTRAINT musiclinks_pk PRIMARY KEY (release, name);
@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS musiccredits (
release character varying(64) NOT NULL,
artist text NOT NULL,
role text,
is_primary boolean,
is_primary boolean
);
ALTER TABLE musiccredits ADD CONSTRAINT musiccredits_pk PRIMARY KEY (release, artist);
@ -37,7 +37,7 @@ CREATE TABLE IF NOT EXISTS musictracks (
title text NOT NULL,
description text,
lyrics text,
preview_url text,
preview_url text
);
ALTER TABLE musictracks ADD CONSTRAINT musictracks_pk PRIMARY KEY (release, number);