aboutsummaryrefslogtreecommitdiffstats
path: root/models/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-02-05 21:34:12 -0800
committerAdam Soltys <[email protected]>2020-02-05 21:34:12 -0800
commit2705b8be5b37261aa57db59c30eeb5651fa370a3 (patch)
tree50b4fc1b62588d3dd7dd3fce08607ffe76293ed3 /models/payments.js
parentc2fdf1156c4b4eaccc330a343cf82bb322c1ab55 (diff)
downloadcoinos-server-2705b8be5b37261aa57db59c30eeb5651fa370a3.tar.gz
coinos-server-2705b8be5b37261aa57db59c30eeb5651fa370a3.zip
asset column
Diffstat (limited to 'models/payments.js')
-rw-r--r--models/payments.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/models/payments.js b/models/payments.js
index 28f4912a..213c11b4 100644
--- a/models/payments.js
+++ b/models/payments.js
@@ -58,6 +58,15 @@ module.exports = sequelize => {
comment: null,
field: "rate"
},
+ asset: {
+ type: DataTypes.STRING(255),
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "asset"
+ },
currency: {
type: DataTypes.STRING(255),
allowNull: true,