rajah 7 hónapja
szülő
commit
ca1de4f402

+ 2 - 0
postgresql/tables/presentations.sql

@@ -4,6 +4,8 @@ CREATE TABLE IF NOT EXISTS vote.presentations
     numero_categorie integer NOT NULL,
     numero_production integer NOT NULL,
     numero_ordre integer NOT NULL DEFAULT 0,
+    media_mime character varying(128) COLLATE pg_catalog."default",
+    media_data bytea,
     nombre_points integer NOT NULL DEFAULT 0,
     nombre_pole_position integer NOT NULL DEFAULT 0,
     CONSTRAINT fk_numeroCategoriePresentation FOREIGN KEY(numero_categorie) REFERENCES vote.categories(numero_categorie),

+ 2 - 2
postgresql/tables/productions.sql

@@ -17,8 +17,8 @@ CREATE TABLE IF NOT EXISTS vote.productions
     plateforme character varying(128) COLLATE pg_catalog."default" NULL DEFAULT '',
     commentaire text,
     informations_privees text,
-    nom_archive character varying(256) COLLATE pg_catalog."default" NOT NULL,
-    archive bytea,
+    nom_archive character varying(256) COLLATE pg_catalog."default",
+    nom_local character varying(256) COLLATE pg_catalog."default",
     vignette bytea,
     numero_version integer DEFAULT 1,
     CONSTRAINT fk_numeroParticipantProduction FOREIGN KEY(numero_participant) REFERENCES vote.participants(numero_participant)