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
dff3a35e
Commit
dff3a35e
authored
Aug 25, 2023
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
09a0143b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+2
-2
No files found.
src/config/mysqlTableConfig.ts
View file @
dff3a35e
...
@@ -28,7 +28,7 @@ export const TablesConfig = {
...
@@ -28,7 +28,7 @@ export const TablesConfig = {
loginId
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//登录账号
loginId
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//登录账号
pwd
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//密码
pwd
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//密码
token
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
token
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
tokenMs
:{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
tokenMs
:{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
firstLoginIsChangePwd
:{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
false
},
//首次登录是否修改密码
firstLoginIsChangePwd
:{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
false
},
//首次登录是否修改密码
}
}
},
},
...
@@ -63,7 +63,7 @@ export const TablesConfig = {
...
@@ -63,7 +63,7 @@ export const TablesConfig = {
loginId
:
{
type
:
Sequelize
.
STRING
(
11
),
allowNull
:
false
},
//登录账号 默认手机号
loginId
:
{
type
:
Sequelize
.
STRING
(
11
),
allowNull
:
false
},
//登录账号 默认手机号
pwd
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//密码 默认手机号后6位
pwd
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//密码 默认手机号后6位
token
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
token
:{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
tokenMs
:{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
tokenMs
:{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
firstLoginIsChangePwd
:{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
false
},
//首次登录是否修改密码
firstLoginIsChangePwd
:{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
false
},
//首次登录是否修改密码
}
}
},
},
...
...
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