소스 검색

dev en cours

rajah 7 달 전
부모
커밋
ca1de4f402
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 0
      postgresql/tables/presentations.sql
  2. 2 2
      postgresql/tables/productions.sql

+ 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)