From fb91aa048617f0894e01c1e890ec957a3170539f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 5 Oct 2022 12:15:48 -0700 Subject: prettier --- db/models/invoices.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db') diff --git a/db/models/invoices.js b/db/models/invoices.js index d93e9214..b13a9545 100644 --- a/db/models/invoices.js +++ b/db/models/invoices.js @@ -130,8 +130,8 @@ const attributes = { }, received: { type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, + allowNull: false, + defaultValue: 0, primaryKey: false, autoIncrement: false, comment: null, -- cgit v1.2.3