From 28f3f69c5e593bcb8462e773ad4a82fb934ada4d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 13 May 2021 19:57:01 -0400 Subject: schema docs --- db/normalized/deposits.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'db/normalized/deposits.js') 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, -- cgit v1.2.3