Skip to content

Commit 8751425

Browse files
authored
Fix SQL script syntax error in config plugin (#843)
1 parent 921f05f commit 8751425

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

backend/plugin/config/sql/mysql/init.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ values
55
(3, '服务器端口', 'EMAIL', 'EMAIL_PORT', '465', 0, null, now(), null),
66
(4, '邮箱账号', 'EMAIL', 'EMAIL_USERNAME', '[email protected]', 0, null, now(), null),
77
(5, '邮箱密码', 'EMAIL', 'EMAIL_PASSWORD', '', 0, null, now(), null),
8-
(6, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null),
8+
(6, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null);

backend/plugin/config/sql/mysql/init_snowflake.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ values
55
(2069061886627938306, '服务器端口', 'EMAIL', 'EMAIL_PORT', '465', 0, null, now(), null),
66
(2069061886627938307, '邮箱账号', 'EMAIL', 'EMAIL_USERNAME', '[email protected]', 0, null, now(), null),
77
(2069061886627938308, '邮箱密码', 'EMAIL', 'EMAIL_PASSWORD', '', 0, null, now(), null),
8-
(2069061886627938309, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null),
8+
(2069061886627938309, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null);

backend/plugin/config/sql/postgresql/init.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ values
55
(3, '服务器端口', 'EMAIL', 'EMAIL_PORT', '465', 0, null, now(), null),
66
(4, '邮箱账号', 'EMAIL', 'EMAIL_USERNAME', '[email protected]', 0, null, now(), null),
77
(5, '邮箱密码', 'EMAIL', 'EMAIL_PASSWORD', '', 0, null, now(), null),
8-
(6, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null),
8+
(6, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null);
99

1010
-- reset auto-increment values for each table based on max id
1111
select setval(pg_get_serial_sequence('sys_config', 'id'),coalesce(max(id), 0) + 1, true) from sys_config;

backend/plugin/config/sql/postgresql/init_snowflake.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ values
55
(2069061886627938306, '服务器端口', 'EMAIL', 'EMAIL_PORT', '465', 0, null, now(), null),
66
(2069061886627938307, '邮箱账号', 'EMAIL', 'EMAIL_USERNAME', '[email protected]', 0, null, now(), null),
77
(2069061886627938308, '邮箱密码', 'EMAIL', 'EMAIL_PASSWORD', '', 0, null, now(), null),
8-
(2069061886627938309, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null),
8+
(2069061886627938309, 'SSL 加密', 'EMAIL', 'EMAIL_SSL', '1', 0, null, now(), null);

0 commit comments

Comments
 (0)