Modification valeur par défaut des jours nouveaux quizs proposés.

This commit is contained in:
Fabrice PENHOËT 2020-08-26 10:11:09 +02:00
parent 8cb935fede
commit b9c395f8c6

View File

@ -27,7 +27,7 @@ module.exports = (sequelize, DataTypes) =>
},
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.",
set(value) { this.setDataValue("receiptDays", tool.trimIfNotNull(value)); },
validate: