From 55f25b153c12c17f918cb573c37a2ee9741fd996 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Thu, 5 Dec 2019 20:31:19 +0100 Subject: [PATCH] Remove disable from models/Report.js - we are not setting this property, and it's inclusion in this model with a default false value meant that there were no errors with seeded data, but with the data returned from the db_manipulation there was. --- backend/src/models/Report.js | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/models/Report.js b/backend/src/models/Report.js index b66aa4076..2ace4ea73 100644 --- a/backend/src/models/Report.js +++ b/backend/src/models/Report.js @@ -5,7 +5,6 @@ module.exports = { createdAt: { type: 'string', isoDate: true, default: () => new Date().toISOString() }, updatedAt: { type: 'string', isoDate: true, default: () => new Date().toISOString() }, rule: { type: 'string', default: 'latestReviewUpdatedAtRules' }, - disable: { type: 'boolean', default: false }, closed: { type: 'boolean', default: false }, belongsTo: { type: 'relationship',