update
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
alter table t_session MODIFY column `create_time` DATETIME NOT NULL DEFAULT NOW();
|
||||||
|
alter table t_session MODIFY column `update_time` DATETIME NOT NULL DEFAULT NOW();
|
||||||
|
alter table t_session MODIFY column `expire_time` DATETIME NOT NULL DEFAULT NOW();
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<!--MySQL数据库驱动程序-->
|
<!--MySQL数据库驱动程序-->
|
||||||
<property name="driverClass">com.mysql.cj.jdbc.Driver</property>
|
<property name="driverClass">com.mysql.cj.jdbc.Driver</property>
|
||||||
<!--MySQL数据库地址-->
|
<!--MySQL数据库地址-->
|
||||||
<property name="jdbcUrl">jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf8</property>
|
<property name="jdbcUrl">jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf8</property>
|
||||||
<!--MySQL数据库用户名-->
|
<!--MySQL数据库用户名-->
|
||||||
<property name="user">root</property>
|
<property name="user">root</property>
|
||||||
<!--MySQL数据库密码-->
|
<!--MySQL数据库密码-->
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<!--MySQL数据库驱动程序-->
|
<!--MySQL数据库驱动程序-->
|
||||||
<property name="driverClass">com.mysql.cj.jdbc.Driver</property>
|
<property name="driverClass">com.mysql.cj.jdbc.Driver</property>
|
||||||
<!--MySQL数据库地址-->
|
<!--MySQL数据库地址-->
|
||||||
<property name="jdbcUrl">jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf8</property>
|
<property name="jdbcUrl">jdbc:mysql://localhost:3306/wfchat?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf8</property>
|
||||||
<!--MySQL数据库用户名-->
|
<!--MySQL数据库用户名-->
|
||||||
<property name="user">root</property>
|
<property name="user">root</property>
|
||||||
<!--MySQL数据库密码-->
|
<!--MySQL数据库密码-->
|
||||||
|
|||||||
Reference in New Issue
Block a user