-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## v2.1(2021-10-23) | ||
- 文章列表增加缩略图显示 | ||
- 图片上传增加保留原始图片功能 | ||
- README,增加演示demo站点 | ||
- 修复站点配置保存bug | ||
- 优化markdown编辑器工具栏在手机端显示效果 | ||
|
||
> 注意:文件升级请使用git pull拉取;数据库升级,请执行update.sql文件。升级前请先备份文件及数据库。 | ||
## v2.0(2021-09-16) | ||
- 首个正式版 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
SET FOREIGN_KEY_CHECKS=0; | ||
|
||
ALTER TABLE `me`.`melog_article` ADD COLUMN `thumb` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '缩略图' AFTER `description`; | ||
|
||
ALTER TABLE `me`.`melog_upload` ADD COLUMN `original` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '原图地址' AFTER `add_time`; | ||
|
||
ALTER TABLE `me`.`melog_upload` ADD COLUMN `origin_size` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '原图大小' AFTER `original`; | ||
|
||
INSERT INTO `me`.`melog_site`(`id`, `group`, `type`, `kname`, `intro`, `value`) VALUES (34, 'image', 'input', 'img_origin', '保留原始图片', '0'); | ||
|
||
UPDATE `me`.`melog_site` SET `group` = 'image' WHERE `id` = 4; | ||
|
||
UPDATE `me`.`melog_site` SET `group` = 'image' WHERE `id` = 15; | ||
|
||
UPDATE `me`.`melog_site` SET `group` = 'image' WHERE `id` = 16; | ||
|
||
UPDATE `me`.`melog_site` SET `group` = 'image' WHERE `id` = 32; | ||
|
||
UPDATE `me`.`melog_site` SET `group` = 'image' WHERE `id` = 33; | ||
|
||
SET FOREIGN_KEY_CHECKS=1; |