
START TRANSACTION;

DROP TABLE IF EXISTS `packages_gallery`;
CREATE TABLE IF NOT EXISTS `packages_gallery` (
  `package_id` int(10) unsigned NOT NULL,
  `gallery_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`package_id`, `gallery_id`),
  UNIQUE KEY `package_id` (`package_id`,`gallery_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;

COMMIT;