瀏覽代碼

dev en cours

rajah 7 月之前
父節點
當前提交
31997ae68a
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 0
      postgresql/base.sql
  2. 2 2
      postgresql/tables/presentations.sql

+ 1 - 0
postgresql/base.sql

@@ -42,3 +42,4 @@ CREATE SCHEMA IF NOT EXISTS vote AUTHORIZATION vote;
 \ir ./tables/productions.sql
 \ir ./tables/presentations.sql
 \ir ./tables/bulletins.sql
+\ir ./tables/webcams.sql

+ 2 - 2
postgresql/tables/presentations.sql

@@ -5,8 +5,8 @@ CREATE TABLE IF NOT EXISTS vote.presentations
     numero_production integer NOT NULL,
     numero_ordre integer NOT NULL DEFAULT 0,
     flag_media integer DEFAULT 0,
-    media_mime character varying(128) COLLATE pg_catalog."default",
-    media_data bytea,
+    mime_media character varying(128) COLLATE pg_catalog."default",
+    data_media 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),