-- Copyright [1999-2016] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
--      http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.

/**
@header patch_84_85_x.sql - Remove unused columns in the experiment table
@desc Remove primary_design_type, description, mage_xml_id, display_url
*/


ALTER TABLE experiment  DROP COLUMN `primary_design_type`;
ALTER TABLE experiment  DROP COLUMN `description`;
ALTER TABLE experiment  DROP COLUMN `mage_xml_id`;
ALTER TABLE experiment  DROP COLUMN `display_url`;

-- patch identifier
insert into meta (species_id, meta_key, meta_value) values (null, 'patch', 'patch_84_85_x.sql|Remove unused columns in the experiment table');

Remove unused columns in the experiment table
Remove unused columns in the experiment table
