diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-04-10 20:20:25 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-04-10 20:20:25 -0400 |
commit | 19dec249aa483c59ab6b74fddc7f63fb28cb8d5b (patch) | |
tree | 8c1ca9b77298da74359ac9f6bf084cb1b706f8ea /schemas/mysql.php | |
parent | c94d5f4afaedc679755be4a4fc0d33996b61b797 (diff) |
Fixed invalid constraint for comments table in sqlite and mysql schema
Diffstat (limited to 'schemas/mysql.php')
-rw-r--r-- | schemas/mysql.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/schemas/mysql.php b/schemas/mysql.php index 3b9cc014..cdd497e3 100644 --- a/schemas/mysql.php +++ b/schemas/mysql.php @@ -2,6 +2,10 @@ namespace Schema; +function version_11($pdo) +{ +} + function version_10($pdo) { } @@ -125,7 +129,7 @@ function version_1($pdo) comment TEXT, PRIMARY KEY (id), FOREIGN KEY(task_id) REFERENCES tasks(id) ON DELETE CASCADE, - FOREIGN KEY(user_id) REFERENCES tasks(id) ON DELETE CASCADE + FOREIGN KEY(user_id) REFERENCES users(id) ON DELETE CASCADE ) ENGINE=InnoDB CHARSET=utf8 "); |