aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-04-06 21:05:49 -0700
committerAdam Soltys <[email protected]>2020-04-11 21:29:24 -0700
commit6837b7d9d480517775dc5901a99baed01c730e80 (patch)
tree28cd27557b2387ed57dae11620d8ef06cfb72476 /db/models
parente9b8303212f1e463ad6927e1b3df404a4358db96 (diff)
downloadcoinos-server-6837b7d9d480517775dc5901a99baed01c730e80.tar.gz
coinos-server-6837b7d9d480517775dc5901a99baed01c730e80.zip
support receiving liquid assets
Diffstat (limited to 'db/models')
-rw-r--r--db/models/accounts.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js
index 57c9e82a..aeaf8d5e 100644
--- a/db/models/accounts.js
+++ b/db/models/accounts.js
@@ -55,6 +55,15 @@ const attributes = {
comment: null,
field: "balance"
},
+ pending: {
+ type: DataTypes.DOUBLE,
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "pending"
+ },
};
const options = {