From b83e5aa656890dbfdff58cd444b1b70b3fd4e805 Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 18 Oct 2023 14:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=80=A7=E9=97=AE=E9=A2=98=EF=BC=9B=E5=8F=91=E5=B8=83=E6=96=B0?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20231018055419_fix_mall_goods.php | 37 +++++++++++++++++++ .../base/common/command/admin/VersionBase.php | 4 +- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 database/migrations/20231018055419_fix_mall_goods.php diff --git a/database/migrations/20231018055419_fix_mall_goods.php b/database/migrations/20231018055419_fix_mall_goods.php new file mode 100644 index 0000000..114e547 --- /dev/null +++ b/database/migrations/20231018055419_fix_mall_goods.php @@ -0,0 +1,37 @@ +table('mall_goods'); + + $table->changeColumn($table->getColumn('license')->setDefault('')); + $table->changeColumn($table->getColumn('license_name')->setDefault('')); + + $table->update(); + } +} diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index 47ab7ee..e535e7b 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -12,12 +12,12 @@ use think\console\Output; class VersionBase extends Command { - public const VERSION = 'v2.0.55'; + public const VERSION = 'v2.0.56'; public const LAYUI_VERSION = '2.8.17'; public const COMMENT = [ - '清理技术债务', + '修复默认安装数据库的兼容性问题', '发布新版本', ];