From c97ede8b3a29e5f742ac73542c83e6d170326760 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 25 Sep 2020 12:48:47 -0700 Subject: record trade completion time --- db/models/proposals.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db') diff --git a/db/models/proposals.js b/db/models/proposals.js index 842101ac..ca3de8eb 100644 --- a/db/models/proposals.js +++ b/db/models/proposals.js @@ -19,6 +19,15 @@ const attributes = { comment: null, field: "user_id" }, + completedAt: { + type: DataTypes.DATE, + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "completedAt" + }, createdAt: { type: DataTypes.DATE, allowNull: false, -- cgit v1.2.3