Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjj_api
Project
Project
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
data_server
gjj_api
Commits
4972e758
Commit
4972e758
authored
Apr 11, 2019
by
姜登
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gjjapi
parent
750dfb00
Pipeline
#5850
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
taskStatus.js
app/model/taskStatus.js
+3
-4
No files found.
app/model/taskStatus.js
View file @
4972e758
...
@@ -78,13 +78,13 @@ module.exports = app => {
...
@@ -78,13 +78,13 @@ module.exports = app => {
this
.
setDataValue
(
'note'
,
JSON
.
stringify
(
val
));
this
.
setDataValue
(
'note'
,
JSON
.
stringify
(
val
));
},
},
},
},
create
Date
:
{
create
_at
:
{
type
:
DataTypes
.
DATE
,
type
:
DataTypes
.
DATE
,
allowNull
:
tru
e
,
allowNull
:
fals
e
,
defaultValue
:
app
.
Sequelize
.
literal
(
'CURRENT_TIMESTAMP'
),
defaultValue
:
app
.
Sequelize
.
literal
(
'CURRENT_TIMESTAMP'
),
field
:
'createDate'
,
field
:
'createDate'
,
},
},
update
Date
:
{
update
_at
:
{
type
:
DataTypes
.
DATE
,
type
:
DataTypes
.
DATE
,
allowNull
:
false
,
allowNull
:
false
,
defaultValue
:
app
.
Sequelize
.
literal
(
'CURRENT_TIMESTAMP'
),
defaultValue
:
app
.
Sequelize
.
literal
(
'CURRENT_TIMESTAMP'
),
...
@@ -111,7 +111,6 @@ module.exports = app => {
...
@@ -111,7 +111,6 @@ module.exports = app => {
},
},
{
{
tableName
:
'gjj_status'
,
tableName
:
'gjj_status'
,
timestamps
:
false
,
});
});
return
taskStatsu
;
return
taskStatsu
;
...
...
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