Skip to content

Commit 88f6872

Browse files
author
Igor Chepurnoy
authored
Merge branch 'master' into add_inline_edit_for_comments
2 parents 3ce7d24 + 6b239d3 commit 88f6872

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This module provide a comments managing system for Yii2 application.
77
[![Total Downloads](https://poser.pugx.org/yii2mod/yii2-comments/downloads)](https://packagist.org/packages/yii2mod/yii2-comments)
88
[![License](https://poser.pugx.org/yii2mod/yii2-comments/license)](https://packagist.org/packages/yii2mod/yii2-comments)
99
[![Build Status](https://travis-ci.org/yii2mod/yii2-comments.svg?branch=master)](https://travis-ci.org/yii2mod/yii2-comments)
10-
[![Join the chat at https://gitter.im/yii2mod/yii2-comments](https://badges.gitter.im/yii2mod/yii2-comments.svg)](https://gitter.im/yii2mod/yii2-comments?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1110

1211
Installation
1312
------------

migrations/m161109_092304_rename_comment_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ class m161109_092304_rename_comment_table extends Migration
66
{
77
public function up()
88
{
9-
if (Yii::$app->db->schema->getTableSchema('comment') === null) {
9+
if (Yii::$app->db->schema->getTableSchema('{{%comment}}') === null) {
1010
$this->renameTable('{{%Comment}}', '{{%comment}}');
1111
}
1212
}
1313

1414
public function down()
1515
{
16-
if (Yii::$app->db->schema->getTableSchema('Comment') === null) {
16+
if (Yii::$app->db->schema->getTableSchema('{{%Comment}}') === null) {
1717
$this->renameTable('{{%comment}}', '{{%Comment}}');
1818
}
1919
}

tests/TestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace yii2mod\comments\tests;
44

5+
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
56
use Yii;
67
use yii\helpers\ArrayHelper;
78
use yii\helpers\FileHelper;

0 commit comments

Comments
 (0)