Modification valeur par défaut des jours nouveaux quizs proposés.
This commit is contained in:
parent
8cb935fede
commit
b9c395f8c6
@ -27,7 +27,7 @@ module.exports = (sequelize, DataTypes) =>
|
|||||||
},
|
},
|
||||||
receiptDays:
|
receiptDays:
|
||||||
{
|
{
|
||||||
type: DataTypes.STRING(7), defaultValue: "1234567",
|
type: DataTypes.STRING(7), defaultValue: "23456", // revoir pour passer pour un paramètre de configuration ?
|
||||||
comment: "Days on which the user has chosen to receive new questionnaires. The same numbers as in Mysql's DAYOFWEEK function.",
|
comment: "Days on which the user has chosen to receive new questionnaires. The same numbers as in Mysql's DAYOFWEEK function.",
|
||||||
set(value) { this.setDataValue("receiptDays", tool.trimIfNotNull(value)); },
|
set(value) { this.setDataValue("receiptDays", tool.trimIfNotNull(value)); },
|
||||||
validate:
|
validate:
|
||||||
|
Loading…
Reference in New Issue
Block a user