Skip to content

custimizable of comments table #7

@mrdred

Description

@mrdred

in Comments/CommentModule.php
add new public value $tableName='tbl_comments';
in Comments/models/Comment.php
public function tableName()
{
return Yii::app()->getModule('user')->tableName;
}

this solution will make customizable name of table

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions