From bef506222d8c6272dbafa7b55c3b5b25e16da52c Mon Sep 17 00:00:00 2001 From: Daniel Kamil Kozar Date: Sun, 22 Nov 2020 22:29:47 +0100 Subject: [PATCH] Changes to postgresql/CreateTables.sql making Nov 2020 import possible --- postgresql/sql/CreateTables.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/postgresql/sql/CreateTables.sql b/postgresql/sql/CreateTables.sql index 6ffb760..a3d9a55 100644 --- a/postgresql/sql/CreateTables.sql +++ b/postgresql/sql/CreateTables.sql @@ -1,7 +1,7 @@ --- artists CREATE TABLE artist ( id integer NOT NULL, - name text NOT NULL, + name text, realname text, profile text, @@ -11,7 +11,7 @@ CREATE TABLE artist ( CREATE TABLE artist_url ( id SERIAL, artist_id integer NOT NULL, - url text NOT NULL + url text ); CREATE TABLE artist_namevariation ( @@ -170,7 +170,7 @@ CREATE TABLE release_track ( release_id integer NOT NULL, sequence integer NOT NULL, position text, - parent integer, + parent text, title text, duration text, track_id text @@ -180,7 +180,7 @@ CREATE TABLE release_track_artist ( id SERIAL, track_id text, release_id integer NOT NULL, - track_sequence integer NOT NULL, + track_sequence text, artist_id integer NOT NULL, artist_name text, extra boolean NOT NULL,