summaryrefslogtreecommitdiff
path: root/app/Schema/Mysql.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-30 20:54:07 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-30 20:54:07 -0500
commit4a52d327f7e555c336a428c457cf40c3d97bfab3 (patch)
tree5bcf5434b8a03f3b73bc0fa40b60879d061a37b8 /app/Schema/Mysql.php
parent5c92f467867b43034b9e66b46b3b465ba9db655c (diff)
Fix typo in Mysql migration
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r--app/Schema/Mysql.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php
index 5433c751..036958b6 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -21,7 +21,8 @@ function version_104(PDO $pdo)
date_modification INT NOT NULL,
task_id INT NOT NULL,
creator_id INT DEFAULT 0,
- FOREIGN KEY(task_id) REFERENCES tasks(id) ON DELETE CASCADE
+ FOREIGN KEY(task_id) REFERENCES tasks(id) ON DELETE CASCADE,
+ PRIMARY KEY(id)
) ENGINE=InnoDB CHARSET=utf8
");
}