mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
Rename deadline to due date, update dependencies
This commit is contained in:
parent
b64f5b7b4a
commit
5ccebfb853
31 changed files with 113 additions and 115 deletions
|
@ -25,7 +25,7 @@ module.exports = {
|
|||
isNotEmptyString: true,
|
||||
allowNull: true
|
||||
},
|
||||
deadline: {
|
||||
dueDate: {
|
||||
type: 'string',
|
||||
custom: value => moment(value, moment.ISO_8601, true).isValid()
|
||||
},
|
||||
|
@ -66,7 +66,7 @@ module.exports = {
|
|||
'position',
|
||||
'name',
|
||||
'description',
|
||||
'deadline',
|
||||
'dueDate',
|
||||
'timer'
|
||||
]);
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ module.exports = {
|
|||
isNotEmptyString: true,
|
||||
allowNull: true
|
||||
},
|
||||
deadline: {
|
||||
dueDate: {
|
||||
type: 'string',
|
||||
custom: value => moment(value, moment.ISO_8601, true).isValid(),
|
||||
allowNull: true
|
||||
|
@ -87,7 +87,7 @@ module.exports = {
|
|||
'position',
|
||||
'name',
|
||||
'description',
|
||||
'deadline',
|
||||
'dueDate',
|
||||
'timer',
|
||||
'isSubscribed'
|
||||
]);
|
||||
|
|
|
@ -24,8 +24,9 @@ module.exports = {
|
|||
isNotEmptyString: true,
|
||||
allowNull: true
|
||||
},
|
||||
deadline: {
|
||||
type: 'ref'
|
||||
dueDate: {
|
||||
type: 'ref',
|
||||
columnName: 'due_date'
|
||||
},
|
||||
timer: {
|
||||
type: 'json'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue