aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/deposits.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-05-13 19:57:01 -0400
committerAdam Soltys <[email protected]>2021-06-04 22:38:18 -0700
commit28f3f69c5e593bcb8462e773ad4a82fb934ada4d (patch)
tree683e43c3371170327f73e25bce8db668aad4f11a /db/normalized/deposits.js
parentdc32621a049467658320e48ffd62ee64d59a71b0 (diff)
downloadcoinos-server-28f3f69c5e593bcb8462e773ad4a82fb934ada4d.tar.gz
coinos-server-28f3f69c5e593bcb8462e773ad4a82fb934ada4d.zip
schema docs
Diffstat (limited to 'db/normalized/deposits.js')
-rw-r--r--db/normalized/deposits.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/normalized/deposits.js b/db/normalized/deposits.js
index 7259abc2..ec9472d8 100644
--- a/db/normalized/deposits.js
+++ b/db/normalized/deposits.js
@@ -17,9 +17,9 @@ const attributes = {
type: DataTypes.DECIMAL(10,2),
allowNull: false
},
- code: {
- // is this unique ?
- type: DataTypes.STRING(255)
+ deposit_code: {
+ type: DataTypes.STRING(255),
+ comment: "Unique randomly generated code to be put in the interac deposit reference/message to link the deposit to this record/user",
},
status: {
type: DataTypes.ENUM,