From b9c395f8c6247ff2cdc5159d977d6f6413aa7872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Wed, 26 Aug 2020 10:11:09 +0200 Subject: [PATCH] =?UTF-8?q?Modification=20valeur=20par=20d=C3=A9faut=20des?= =?UTF-8?q?=20jours=20nouveaux=20quizs=20propos=C3=A9s.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/Subscription.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Subscription.js b/models/Subscription.js index cee27d8..b641beb 100644 --- a/models/Subscription.js +++ b/models/Subscription.js @@ -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: