diff options
| author | Adam Soltys <[email protected]> | 2021-05-13 19:57:01 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-05-13 20:03:49 -0400 |
| commit | 3e981aaf136a545dc1d1b8597bac3fc5e6611178 (patch) | |
| tree | d21f41f3f5806b0d6281f9e5d1208fee6cc73c75 /db/normalized/deposits.js | |
| parent | 8ede8b87045655c79c389fdc312c7ca01b1140da (diff) | |
| download | coinos-server-3e981aaf136a545dc1d1b8597bac3fc5e6611178.tar.gz coinos-server-3e981aaf136a545dc1d1b8597bac3fc5e6611178.zip | |
schema docs
Diffstat (limited to 'db/normalized/deposits.js')
| -rw-r--r-- | db/normalized/deposits.js | 6 |
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, |
