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
3ea8aca8
Commit
3ea8aca8
authored
Aug 29, 2023
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3dfd0b68
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+1
-2
No files found.
src/config/mysqlTableConfig.ts
View file @
3ea8aca8
...
@@ -85,7 +85,6 @@ export const TablesConfig = [
...
@@ -85,7 +85,6 @@ export const TablesConfig = [
unique
:
true
//表示该列的值必须唯一
unique
:
true
//表示该列的值必须唯一
},
},
systemTitle
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//制度标题
systemTitle
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
},
//制度标题
periodOfValidity
:
{
type
:
Sequelize
.
INTEGER
,
allowNull
:
false
},
//制度有效范围
bId
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//支部表id 外键 [1,2] --多选
bId
:
{
type
:
Sequelize
.
STRING
(
100
),
allowNull
:
false
,
defaultValue
:
'[]'
},
//支部表id 外键 [1,2] --多选
releaseTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//发布时间
releaseTime
:
{
type
:
Sequelize
.
DATE
,
allowNull
:
false
},
//发布时间
isUse
:
{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
true
},
//是否使用
isUse
:
{
type
:
Sequelize
.
BOOLEAN
,
allowNull
:
false
,
defaultValue
:
true
},
//是否使用
...
@@ -121,7 +120,7 @@ export const TablesConfig = [
...
@@ -121,7 +120,7 @@ export const TablesConfig = [
]
]
},
},
{
{
tableNameCn
:
'专题活动表'
,
tableNameCn
:
'专题活动表'
,
//党建资讯
tableName
:
'thematicActivities'
,
tableName
:
'thematicActivities'
,
schema
:{
schema
:{
taId
:
{
//自增的专题活动id
taId
:
{
//自增的专题活动id
...
...
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