Skip to content

Commit 46d5d01

Browse files
committed
updated table name
1 parent 7f0dc70 commit 46d5d01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/migrations/m200330_154820_add_comment_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TABLE IF NOT EXISTS `stg_comment` (
1+
CREATE TABLE IF NOT EXISTS `comment` (
22
`id` INT NOT NULL AUTO_INCREMENT,
33
`parent_comment_id` INT NULL,
44
`key` VARCHAR(45) NOT NULL,

src/models/Comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function childComments(): array
4646
*/
4747
public static function tableName(): string
4848
{
49-
return 'stg_comment';
49+
return 'comment';
5050
}
5151

5252

0 commit comments

Comments
 (0)