Skip to content

Commit 45eac93

Browse files
committed
更新SQL,满足MySQL5.7及以下版本需求
1 parent 71c2f52 commit 45eac93

7 files changed

Lines changed: 349 additions & 452 deletions

File tree

doc/nacos/mate-dev.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,4 @@ jetcache:
3232
default:
3333
type: redis.lettuce
3434
keyConvertor: fastjson
35-
uri: redis://127.0.0.1:6379/
36-
justauth:
37-
enabled: true
38-
type:
39-
github:
40-
client-id: 75a51afd3b0a2fc32952
41-
client-secret: dcf425ac897106e**********8b336d2317b
42-
redirect-uri: http://localhost:10001/mate-uaa/auth/callback/github
43-
wechat_open:
44-
client-id: wxdcb******4ff4
45-
client-secret: b4e9dc************************a08ed6d
46-
redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat/callback
47-
cache:
48-
type: redis
49-
prefix: 'SOCIAL::STATE::'
50-
timeout: 1h
51-
social:
52-
vue:
53-
url: http://localhost:9528/#/socialcallback
35+
uri: redis://127.0.0.1:6379/

doc/nacos/mate-local.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,4 @@ jetcache:
3232
default:
3333
type: redis.lettuce
3434
keyConvertor: fastjson
35-
uri: redis://127.0.0.1:6379/
36-
justauth:
37-
enabled: true
38-
type:
39-
github:
40-
client-id: 75a51afd3b0a2fc32952
41-
client-secret: dcf425ac897106e**********8b336d2317b
42-
redirect-uri: http://localhost:10001/mate-uaa/auth/callback/github
43-
wechat_open:
44-
client-id: wxdcb******4ff4
45-
client-secret: b4e9dc************************a08ed6d
46-
redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat/callback
47-
cache:
48-
type: redis
49-
prefix: 'SOCIAL::STATE::'
50-
timeout: 1h
51-
social:
52-
vue:
53-
url: http://localhost:9528/#/socialcallback
35+
uri: redis://127.0.0.1:6379/

doc/nacos/mate-prod.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,4 @@ jetcache:
3232
default:
3333
type: redis.lettuce
3434
keyConvertor: fastjson
35-
uri: redis://127.0.0.1:6379/
36-
justauth:
37-
enabled: true
38-
type:
39-
github:
40-
client-id: 75a51afd3b0a2fc32952
41-
client-secret: dcf425ac897106e**********8b336d2317b
42-
redirect-uri: http://localhost:10001/mate-uaa/auth/callback/github
43-
wechat_open:
44-
client-id: wxdcb******4ff4
45-
client-secret: b4e9dc************************a08ed6d
46-
redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat/callback
47-
cache:
48-
type: redis
49-
prefix: 'SOCIAL::STATE::'
50-
timeout: 1h
51-
social:
52-
vue:
53-
url: http://localhost:9528/#/socialcallback
35+
uri: redis://127.0.0.1:6379/

doc/nacos/mate-test.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,4 @@ jetcache:
3232
default:
3333
type: redis.lettuce
3434
keyConvertor: fastjson
35-
uri: redis://127.0.0.1:6379/
36-
justauth:
37-
enabled: true
38-
type:
39-
github:
40-
client-id: 75a51afd3b0a2fc32952
41-
client-secret: dcf425ac897106e**********8b336d2317b
42-
redirect-uri: http://localhost:10001/mate-uaa/auth/callback/github
43-
wechat_open:
44-
client-id: wxdcb******4ff4
45-
client-secret: b4e9dc************************a08ed6d
46-
redirect-uri: http://oauth.xkcoding.com/demo/oauth/wechat/callback
47-
cache:
48-
type: redis
49-
prefix: 'SOCIAL::STATE::'
50-
timeout: 1h
51-
social:
52-
vue:
53-
url: http://localhost:9528/#/socialcallback
35+
uri: redis://127.0.0.1:6379/

doc/sql/matex_schema.sql

Lines changed: 287 additions & 376 deletions
Large diffs are not rendered by default.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<configuration debug="false" scan="true" scanPeriod="1 seconds">
3+
4+
<contextName>logback</contextName>
5+
<property name="log.path" value="./logs/app/${APP_NAME}/${APP_NAME}.log"/>
6+
7+
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
8+
<encoder>
9+
<pattern>%d{HH:mm:ss.SSS} %contextName [%thread] %-5level %logger{36} - %msg%n</pattern>
10+
</encoder>
11+
</appender>
12+
13+
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
14+
<file>${log.path}</file>
15+
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
16+
<fileNamePattern>${log.path}.%d{yyyy-MM-dd}.zip</fileNamePattern>
17+
</rollingPolicy>
18+
<encoder>
19+
<pattern>%date %level [%thread] %logger{36} [%file : %line] %msg%n
20+
</pattern>
21+
</encoder>
22+
</appender>
23+
24+
<root level="info">
25+
<appender-ref ref="console"/>
26+
<appender-ref ref="file"/>
27+
</root>
28+
29+
</configuration>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<configuration debug="false" scan="true" scanPeriod="1 seconds">
3+
4+
<contextName>logback</contextName>
5+
<property name="log.path" value="./logs/app/${APP_NAME}/${APP_NAME}.log"/>
6+
7+
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
8+
<encoder>
9+
<pattern>%d{HH:mm:ss.SSS} %contextName [%thread] %-5level %logger{36} - %msg%n</pattern>
10+
</encoder>
11+
</appender>
12+
13+
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
14+
<file>${log.path}</file>
15+
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
16+
<fileNamePattern>${log.path}.%d{yyyy-MM-dd}.zip</fileNamePattern>
17+
</rollingPolicy>
18+
<encoder>
19+
<pattern>%date %level [%thread] %logger{36} [%file : %line] %msg%n
20+
</pattern>
21+
</encoder>
22+
</appender>
23+
24+
<root level="info">
25+
<appender-ref ref="console"/>
26+
<appender-ref ref="file"/>
27+
</root>
28+
29+
</configuration>

0 commit comments

Comments
 (0)