Files
ulthon_admin/extend/base/admin/service/adminUpdateData/tips.php
2025-10-09 23:31:37 +08:00

66 lines
2.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// 升级的注意事项
return [
[
'version' => 'v2.0.57',
'desc' => [
'删除了localheinz/diff依赖可以通过以下命令调整',
'composer remove localheinz/diff',
'',
'调整了AdminUpdateServiceBase的代码的文件名和类名可能需要手动修改或删除旧的文件',
],
],
[
'version' => 'v2.0.65',
'desc' => [
'商品表增加了自定义字段的属性输入字段,用于系统商品代码演示',
],
],
[
'version' => 'v2.0.71',
'desc' => [
'本次更新修改了database/migrations/20220419030557_system_auth.php文件修复了安装到sqlite的问题如果你使用sqlite需要有意识的解决这个问题',
],
],
[
'version' => 'v2.0.74',
'desc' => [
'本次更新修改了js中init的各项属性的大小写规范你需要将蛇形命名全局替换为小驼峰命名比如:table_elem改为tableElem',
'可以运行 php think admin:update:code --update-version v2.0.74 命令自动替换',
],
],
[
'version' => 'v2.0.100',
'desc' => [
'本次更新了注解的版本修复了节点更新的bug请手动更新注解库可执行以下命令',
'composer require "doctrine/annotations:2.*"',
],
],
[
'version' => 'v2.0.101',
'desc' => [
'本次调整了快捷入口的注释内容和默认值,可执行以下命令:',
'php think migrate:run',
],
],
[
'version' => 'v2.0.116',
'desc' => [
'本次更新使用了新的权限模式,需要运行以下命令更新表结构:',
'php think migrate:run',
'由于使用了新的权限模式,您需要重新设置角色的权限设置,原来的权限已失效,',
'本次更新弃用了system_node表建议手动删除',
'本次更新弃用了system_auth_node表的node_id字段建议手动删除',
'本版本之后,修改了上述表格结构的安装文件,无需手动处理。',
],
],
[
'version' => 'v2.0.120',
'desc' => [
'本次更新增加了定时任务执行节点自动注册,需要运行以下命令更新表结构:',
'php think migrate:run',
],
],
];