ALTER TABLE `LENS`
DROP FOREIGN KEY `fk_LENS_4`,
DROP FOREIGN KEY `fk_LENS_3`,
DROP FOREIGN KEY `fk_LENS_2`;
ALTER TABLE `LENS`
DROP COLUMN `shutter_model`,
DROP COLUMN `formula`,
DROP COLUMN `image_circle`,
DROP COLUMN `diameter`,
DROP COLUMN `length`,
DROP COLUMN `rectilinear`,
DROP COLUMN `exif_lenstype`,
DROP COLUMN `hood`,
DROP COLUMN `coating`,
DROP COLUMN `fixed_mount`,
DROP COLUMN `negative_size_id`,
DROP COLUMN `discontinued`,
DROP COLUMN `introduced`,
DROP COLUMN `url`,
DROP COLUMN `magnification`,
DROP COLUMN `filter_thread`,
DROP COLUMN `autofocus`,
DROP COLUMN `aperture_blades`,
DROP COLUMN `nominal_max_angle_diag`,
DROP COLUMN `nominal_min_angle_diag`,
DROP COLUMN `weight`,
DROP COLUMN `groups`,
DROP COLUMN `elements`,
DROP COLUMN `min_aperture`,
DROP COLUMN `max_aperture`,
DROP COLUMN `closest_focus`,
DROP COLUMN `model`,
DROP COLUMN `manufacturer_id`,
DROP COLUMN `max_focal_length`,
DROP COLUMN `min_focal_length`,
DROP COLUMN `zoom`,
DROP COLUMN `mount_id`,
DROP INDEX `fk_LENS_4` ,
DROP INDEX `fk_LENS_3` ,
DROP INDEX `fk_LENS_2` ;
