docs: 修改migrations文件中的表注释

This commit is contained in:
2025-06-16 15:01:36 +08:00
parent a2d03eb0d0
commit 421d549109
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ class CreateOauthRefreshToken extends Migrator
*/
public function change()
{
$table = $this->table('oauth_refresh_token', ['engine' => 'InnoDB', 'collation' => 'utf8mb4_general_ci', 'comment' => 'OAuth2刷新令牌表']);
$table = $this->table('oauth_refresh_token', ['engine' => 'InnoDB', 'collation' => 'utf8mb4_general_ci', 'comment' => 'OAuth2 刷新令牌表']);
$table->addColumn('client_id', 'string', ['limit' => 32, 'default' => '', 'comment' => '客户端ID'])
->addColumn('user_id', 'integer', ['limit' => 10, 'default' => 0, 'comment' => '用户ID'])
->addColumn('refresh_token', 'string', ['limit' => 64, 'default' => '', 'comment' => '刷新令牌'])