From f6f3db1701d0f15da82a76e53fa92675b8ed635d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 28 十二月 2022 16:26:18 +0800 Subject: [PATCH] update hutool 5.8.10 => 5.8.11 update aws-s3 1.12.349 => 1.12.373 update aliyun-sms 2.0.22 => 2.0.23 update tencent-sms 3.1.635 => 3.1.660 --- script/sql/update/postgres/update-4.2-4.3.sql | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/script/sql/update/postgres/update-4.2-4.3.sql b/script/sql/update/postgres/update-4.2-4.3.sql index c800937..9479f3f 100644 --- a/script/sql/update/postgres/update-4.2-4.3.sql +++ b/script/sql/update/postgres/update-4.2-4.3.sql @@ -2,8 +2,18 @@ delete from sys_menu WHERE menu_id = 116; -update sys_config set config_key = 'sys.account.captchaEnabled' where config_id = 4 +update sys_config set config_key = 'sys.account.captchaEnabled' where config_id = 4; insert into sys_menu values('1050', '璐︽埛瑙i攣', '501', '4', '#', '', '', '1', '0', 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', now(), '', null, ''); insert into sys_role_menu values ('2', '1050'); + +-- 瀛楃涓茶嚜鍔ㄨ浆鏃堕棿 閬垮厤妗嗘灦鏃堕棿鏌ヨ鎶ラ敊闂 +create or replace function cast_varchar_to_timestamp(varchar) returns timestamptz as $$ +select to_timestamp($1, 'yyyy-mm-dd hh24:mi:ss'); +$$ language sql strict ; + +create cast (varchar as timestamptz) with function cast_varchar_to_timestamp as IMPLICIT; + +insert into sys_dict_data values(29, 99, '鍏朵粬', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', now(), '', null, '鍏朵粬鎿嶄綔'); + -- Gitblit v1.9.3