Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yafangsuo_dataServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
yafangsuo_dataServer
Commits
7c90312f
Commit
7c90312f
authored
Jun 25, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8dfacc57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
serverConfig.xml
serverConfig.xml
+1
-1
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+2
-2
No files found.
serverConfig.xml
View file @
7c90312f
...
...
@@ -14,7 +14,7 @@
<mysqlPort>
3306
</mysqlPort>
<mysqlUser>
root
</mysqlUser>
<mysqlPwd>
123456
</mysqlPwd>
<dataBase>
yfs
</dataBase>
.
<dataBase>
yfs
</dataBase>
<!-- 服务器mysql配置 -->
<!-- <mysqlHost>127.0.0.1</mysqlHost>
<mysqlPort>3306</mysqlPort>
...
...
src/config/mysqlTableConfig.ts
View file @
7c90312f
...
...
@@ -239,8 +239,8 @@ export const TablesConfig = [
pmId
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//党员id 外键
mlId
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//党员学习id 外键
rateOfLearning
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
0
},
//学习进度
learningCompleted
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
1
},
//是否已完成 1:正在进行、2:阅读完成
textSchedule
:{
type
:
Sequelize
.
STRING
(
500
),
defaultValue
:
'[]'
},
//文字学习进度 已读文件的json格式
learningCompleted
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
,
defaultValue
:
1
},
//是否已完成 1:正在进行、2:阅读完成
textSchedule
:{
type
:
Sequelize
.
STRING
(
500
),
allowNull
:
true
,
defaultValue
:
'[]'
},
//文字学习进度 已读文件的json格式
},
association
:
[]
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment