diff options
| author | Adam Soltys <[email protected]> | 2020-09-25 12:48:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-25 12:48:47 -0700 |
| commit | c97ede8b3a29e5f742ac73542c83e6d170326760 (patch) | |
| tree | 86c5b2c93699fd55c4dc180d25d79cfdd9b84130 /db | |
| parent | 072dd8dcce4f28eba78838855f6ae977b868c8b6 (diff) | |
| download | coinos-server-c97ede8b3a29e5f742ac73542c83e6d170326760.tar.gz coinos-server-c97ede8b3a29e5f742ac73542c83e6d170326760.zip | |
record trade completion time
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/proposals.js | 9 |
1 files changed, 9 insertions, 0 deletions
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, |
