diff --git a/cosmogramme/sql/patch/patch_235.php b/cosmogramme/sql/patch/patch_235.php index 15174eb004fecb2b0f17ef1ad02c30b453b23891..1f22b6c8894f6b6ae871e579cd1d5056fa6ebe13 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