feat: 新增文章评论删除接口

This commit is contained in:
2025-01-16 11:20:04 +08:00
parent e2c9d25672
commit 7c69f40238
4 changed files with 28 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ class CreateArticleLeaveMessage extends Migrator
->addColumn('user_agent', 'string', ['limit' => 255, 'null' => false, 'comment' => 'UserAgent'])
->addColumn('is_audited', 'boolean', ['null' => false, 'default' => 0, 'comment' => '0待审核,1已审核'])
->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
->addColumn('deleted_at', 'timestamp', ['null' => true, 'comment' => '删除时间'])
->create();
}
}