aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-15 21:07:10 -0700
committerAdam Soltys <[email protected]>2020-07-15 21:07:10 -0700
commit3cfa224f4c0d71b79970654de740c57b5c8a7d2a (patch)
tree68795fcd80be58b0b2a1452aab83334df454e7c2 /db
parent4e506759982cfb9d725dc807966833cf7f02e1d2 (diff)
downloadcoinos-server-3cfa224f4c0d71b79970654de740c57b5c8a7d2a.tar.gz
coinos-server-3cfa224f4c0d71b79970654de740c57b5c8a7d2a.zip
invoice uuid column
Diffstat (limited to 'db')
-rw-r--r--db/models/invoices.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/invoices.js b/db/models/invoices.js
index 229f92b8..6fb68c31 100644
--- a/db/models/invoices.js
+++ b/db/models/invoices.js
@@ -55,6 +55,15 @@ const attributes = {
comment: null,
field: "rate"
},
+ uuid: {
+ type: DataTypes.STRING(255),
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "uuid"
+ },
network: {
type: DataTypes.STRING(255),
allowNull: true,