diff --git a/database/migrations/20221013045828_system_user.php b/database/migrations/20221013045828_system_user.php index 939e62678..03b20058c 100644 --- a/database/migrations/20221013045828_system_user.php +++ b/database/migrations/20221013045828_system_user.php @@ -20,15 +20,15 @@ class SystemUser extends Migrator ->addColumn('username', 'string', ['limit' => 50, 'default' => '', 'comment' => '用户账号']) ->addColumn('password', 'string', ['limit' => 32, 'default' => '', 'comment' => '用户密码']) ->addColumn('nickname', 'string', ['limit' => 50, 'default' => '', 'comment' => '用户昵称']) - ->addColumn('headimg', 'string', ['limit' => 255, 'default' => '', 'comment' => '头像地址']) - ->addColumn('authorize', 'string', ['limit' => 255, 'default' => '', 'comment' => '权限授权']) + ->addColumn('headimg', 'string', ['limit' => 500, 'default' => '', 'comment' => '头像地址']) + ->addColumn('authorize', 'string', ['limit' => 500, 'default' => '', 'comment' => '权限授权']) ->addColumn('contact_qq', 'string', ['limit' => 20, 'default' => '', 'comment' => '联系QQ']) ->addColumn('contact_mail', 'string', ['limit' => 20, 'default' => '', 'comment' => '联系邮箱']) ->addColumn('contact_phone', 'string', ['limit' => 20, 'default' => '', 'comment' => '联系手机']) ->addColumn('login_ip', 'string', ['limit' => 20, 'default' => '', 'comment' => '登录地址']) ->addColumn('login_at', 'string', ['limit' => 20, 'default' => '', 'comment' => '登录时间']) ->addColumn('login_num', 'integer', ['limit' => 20, 'default' => 0, 'comment' => '登录次数']) - ->addColumn('describe', 'string', ['limit' => 255, 'default' => '', 'comment' => '备注说明']) + ->addColumn('describe', 'string', ['limit' => 500, 'default' => '', 'comment' => '备注说明']) ->addColumn('status', 'integer', ['limit' => 20, 'default' => 1, 'comment' => '状态(0禁用,1启用)']) ->addColumn('sort', 'integer', ['limit' => 20, 'default' => 0, 'comment' => '排序权重']) ->addColumn('is_deleted', 'integer', ['limit' => 20, 'default' => 0, 'comment' => '删除(1删除,0未删)'])