Skip to content

Commit

Permalink
修复更新无效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
0xxb committed Dec 11, 2018
1 parent 70293ae commit d296e30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ UPDATE `lsky_config` SET `value` = '1.2.1' WHERE `lsky_config`.`name` = 'system_

-- v1.3.2
UPDATE `lsky_config` SET `value` = '1.3.2' WHERE `lsky_config`.`name` = 'system_version';
INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES

INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES
(NULL, 'audit', 'bool', 'checkbox', 'open_audit', '开启图片鉴黄', '鉴黄接口申请地址:https://www.moderatecontent.com', '0', ''),
(NULL, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''),
(NULL, 'audit', 'select', 'text', 'audit_index', '内容评级', '1=所有人,2=少年,3=成人', '3', '{\"1\": \"所有人\", \"2\": \"少年\", \"3\": \"成人\"}'),
Expand Down

0 comments on commit d296e30

Please sign in to comment.