From 51c8490006d589de8ecbf1ed562782f525645613 Mon Sep 17 00:00:00 2001 From: augushong Date: Sat, 25 Nov 2023 16:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=8A=80=E6=9C=AF=E5=80=BA?= =?UTF-8?q?=E5=8A=A1=EF=BC=9B=E4=BC=98=E5=8C=96=E5=AE=89=E8=A3=85=E5=88=B0?= =?UTF-8?q?sqlite=E7=9A=84=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/update.php | 94 ------------------- .../migrations/20220419030557_system_auth.php | 1 - .../admin/service/adminUpdateData/tips.php | 6 ++ .../base/common/command/admin/VersionBase.php | 5 +- 4 files changed, 9 insertions(+), 97 deletions(-) delete mode 100644 config/update.php diff --git a/config/update.php b/config/update.php deleted file mode 100644 index 32cff57..0000000 --- a/config/update.php +++ /dev/null @@ -1,94 +0,0 @@ -addColumn(Column::integer('create_time')->setLimit(11)->setUnsigned()->setDefault(0)->setComment('创建时间')) ->addColumn(Column::integer('update_time')->setLimit(11)->setUnsigned()->setDefault(0)) ->addColumn(Column::integer('delete_time')->setLimit(11)->setUnsigned()->setDefault(0)) - ->addIndex('title') ->addIndex('delete_time') ->create(); } diff --git a/extend/base/admin/service/adminUpdateData/tips.php b/extend/base/admin/service/adminUpdateData/tips.php index ba174b8..3b49efd 100644 --- a/extend/base/admin/service/adminUpdateData/tips.php +++ b/extend/base/admin/service/adminUpdateData/tips.php @@ -17,4 +17,10 @@ return [ '商品表增加了自定义字段的属性输入字段,用于系统商品代码演示', ], ], + [ + 'version' => 'v2.0.71', + 'desc' => [ + '本次更新修改了database/migrations/20220419030557_system_auth.php文件,修复了安装到sqlite的问题,如果你使用sqlite,需要有意识的解决这个问题', + ], + ], ]; diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index b287700..9d794f2 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -12,12 +12,13 @@ use think\console\Output; class VersionBase extends Command { - public const VERSION = 'v2.0.70'; + public const VERSION = 'v2.0.71'; public const LAYUI_VERSION = '2.8.17'; public const COMMENT = [ - '优化lay-submit特性,支持btn上设置name和value', + '清理技术债务update配置文件', + '优化sqlite的安装兼容性', '发布新版本', ];