15.04.07.sql 368 B

1234567891011
  1. DELETE FROM `issue_update_field`
  2. WHERE `issue_update_id` NOT IN (
  3. SELECT `id` FROM `issue_update`
  4. );
  5. ALTER TABLE `issue_update_field`
  6. ADD CONSTRAINT `issue_update_field_update` FOREIGN KEY (`issue_update_id`) REFERENCES `issue_update`(`id`) ON UPDATE CASCADE ON DELETE CASCADE,
  7. ENGINE=INNODB;
  8. UPDATE `config` SET `value` = '15.04.07' WHERE `attribute` = 'version';