Skip to content

Commit

Permalink
updated table name
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Mar 30, 2020
1 parent 7f0dc70 commit 46d5d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/migrations/m200330_154820_add_comment_table.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TABLE IF NOT EXISTS `stg_comment` (
CREATE TABLE IF NOT EXISTS `comment` (
`id` INT NOT NULL AUTO_INCREMENT,
`parent_comment_id` INT NULL,
`key` VARCHAR(45) NOT NULL,
Expand Down
2 changes: 1 addition & 1 deletion src/models/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function childComments(): array
*/
public static function tableName(): string
{
return 'stg_comment';
return 'comment';
}


Expand Down

0 comments on commit 46d5d01

Please sign in to comment.