15.01.31.sql 452 B

123456789101112
  1. DROP TABLE IF EXISTS `issue_tag`;
  2. CREATE TABLE `issue_tag`(
  3. `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  4. `tag` VARCHAR(60) NOT NULL,
  5. `issue_id` INT UNSIGNED NOT NULL,
  6. PRIMARY KEY (`id`),
  7. INDEX `issue_tag_tag` (`tag`, `issue_id`),
  8. CONSTRAINT `issue_tag_issue` FOREIGN KEY (`issue_id`) REFERENCES `issue`(`id`) ON UPDATE CASCADE ON DELETE CASCADE
  9. ) ENGINE=INNODB CHARSET=utf8;
  10. UPDATE `config` SET `value` = '15.01.31' WHERE `attribute` = 'version';