App-PhotoDB
view release on metacpan or search on metacpan
migrations/028-drop-lens-cols.sql view on Meta::CPAN
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` ;
( run in 0.550 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )