refactor: 修改各表user_agent字段长度

This commit is contained in:
2025-06-30 15:17:09 +08:00
parent e60b2a02a1
commit b68c56cfdc
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class CreateLeaveMessage extends Migrator
->addColumn('email', 'string', ['limit' => 128, 'null' => false, 'comment' => '邮箱'])
->addColumn('content', 'text', ['null' => false, 'comment' => '内容'])
->addColumn('ip', 'string', ['limit' => 64, 'null' => false, 'comment' => 'IP'])
->addColumn('user_agent', 'string', ['limit' => 255, 'null' => false, 'comment' => 'UserAgent'])
->addColumn('user_agent', 'string', ['limit' => 1024, 'null' => false, 'comment' => 'UserAgent'])
->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
->create();
}