From a3143fb5a7580a9c26fe52860b3ec42e34b84039 Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@afi-sa.fr>
Date: Thu, 26 Feb 2015 11:34:49 +0100
Subject: [PATCH] rd #14085 pnb

patch fix
---
 cosmogramme/sql/patch/patch_235.php | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/cosmogramme/sql/patch/patch_235.php b/cosmogramme/sql/patch/patch_235.php
index 15174eb004f..1f22b6c8894 100644
--- a/cosmogramme/sql/patch/patch_235.php
+++ b/cosmogramme/sql/patch/patch_235.php
@@ -6,7 +6,5 @@ $adapter->query('CREATE TABLE `album_usage_constraints` ( '
 								. 'usage_type varchar(4) not null,'
 								. 'serialized_datas text not null,'
 								. 'primary key (id),'
-								. 'key (`value`)'
-								. ') engine=MyISAM default charset=utf8');
-
-$adapter->query('ALTER TABLE album_usage_constraints ADD INDEX (album_id)');
\ No newline at end of file
+								. 'key (`album_id`)'
+								. ') engine=MyISAM default charset=utf8');
\ No newline at end of file
-- 
GitLab