diff --git a/Admin/Install/Comments.php b/Admin/Install/Comments.php index 0a78703..2ede57e 100755 --- a/Admin/Install/Comments.php +++ b/Admin/Install/Comments.php @@ -42,7 +42,7 @@ class Comments { $builder = new Builder($dbPool->get('schema')); $builder->alterTable('news') - ->addConstraint('news_comment_list', 'comment_list', 'comment_list_id') + ->addConstraint('news_comment_list', 'comments_list', 'comments_list_id') ->execute(); $mapper = \file_get_contents(__DIR__ . '/../../Models/NewsArticleMapper.php'); diff --git a/info.json b/info.json index ce9c998..92a9b33 100755 --- a/info.json +++ b/info.json @@ -23,7 +23,7 @@ }, "providing": { "Navigation": "*", - "Comment": "*" + "Comments": "*" }, "load": [ {