Browse Source

Adding sprint_id to issue_backlog for future use

Alan Hardman 4 years ago
parent
commit
e32b06b6c5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      db/16.02.05.sql

+ 7 - 0
db/16.02.05.sql

@@ -0,0 +1,7 @@
+# Add sprint_id column to issue_backlog
+ALTER TABLE `issue_backlog`
+	ADD COLUMN `sprint_id` INT UNSIGNED NULL AFTER `user_id`,
+	ADD CONSTRAINT `issue_backlog_sprint_id` FOREIGN KEY (`sprint_id`) REFERENCES `sprint`(`id`) ON UPDATE CASCADE ON DELETE CASCADE;
+
+# Update version
+UPDATE `config` SET `value` = '16.02.05' WHERE `attribute` = 'version';