aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-05 12:15:48 -0700
committerAdam Soltys <[email protected]>2022-10-05 12:15:48 -0700
commitfb91aa048617f0894e01c1e890ec957a3170539f (patch)
tree5630fbe3bb5eb67fc0fba2bba79b8b763609d93a /db
parent160d95f693d7d8a17e864313b06790a841d4e160 (diff)
downloadcoinos-server-fb91aa048617f0894e01c1e890ec957a3170539f.tar.gz
coinos-server-fb91aa048617f0894e01c1e890ec957a3170539f.zip
prettier
Diffstat (limited to 'db')
-rw-r--r--db/models/invoices.js4
1 files changed, 2 insertions, 2 deletions
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,