From 552ffb697de4d6338cd3cf0b9483042c6df6256b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AD=E9=9B=B6?= Date: Tue, 6 Dec 2022 12:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E5=AF=BC=E8=87=B4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/updbase.php | 4 ++++ include/version.php | 2 +- install/update6.sql | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 install/update6.sql diff --git a/include/updbase.php b/include/updbase.php index d394123..ef912ab 100644 --- a/include/updbase.php +++ b/include/updbase.php @@ -53,6 +53,10 @@ if($sqlvn < 10304) { if($sqlvn < 10500) { $version = 'v1.5.0'; } +if($sqlvn < 10501) { + $version = 'v1.5.1'; + $sql = $sql.file_get_contents(ROOT.'install/update6.sql'); +} $sql=explode(';',$sql); for ($i=0;$i \ No newline at end of file diff --git a/install/update6.sql b/install/update6.sql new file mode 100644 index 0000000..da4f1da --- /dev/null +++ b/install/update6.sql @@ -0,0 +1,2 @@ +-- v1.5.1 +ALTER TABLE `lylme_links` CHANGE `name` `name` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '链接标题'; \ No newline at end of file