diff options
| author | Adam Soltys <[email protected]> | 2020-08-16 21:34:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-16 21:34:13 -0700 |
| commit | 7ab3036cb1576fe38ba1fd423a58b7cd97a58579 (patch) | |
| tree | 305b1a0aa321389b60385009876bbdb1fe0a1c68 /db/models | |
| parent | b2208797d3c5559c7e8cc7d35b7a020da0c61193 (diff) | |
| download | coinos-server-7ab3036cb1576fe38ba1fd423a58b7cd97a58579.tar.gz coinos-server-7ab3036cb1576fe38ba1fd423a58b7cd97a58579.zip | |
non-custodial liquid wallets
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/accounts.js | 9 | ||||
| -rw-r--r-- | db/models/invoices.js | 9 | ||||
| -rw-r--r-- | db/models/users.js | 27 |
3 files changed, 9 insertions, 36 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js index 89c85ef1..53684caf 100644 --- a/db/models/accounts.js +++ b/db/models/accounts.js @@ -124,15 +124,6 @@ const attributes = { comment: null, field: "index" }, - address: { - type: DataTypes.STRING, - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "address" - }, pubkey: { type: DataTypes.STRING, allowNull: true, diff --git a/db/models/invoices.js b/db/models/invoices.js index 231ed6f6..d2a73f7f 100644 --- a/db/models/invoices.js +++ b/db/models/invoices.js @@ -10,6 +10,15 @@ const attributes = { comment: null, field: "id" }, + account_id: { + type: DataTypes.INTEGER(11), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "account_id" + }, user_id: { type: DataTypes.INTEGER(11), allowNull: true, diff --git a/db/models/users.js b/db/models/users.js index 6a5b138c..f6446a38 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -55,24 +55,6 @@ const attributes = { comment: null, field: "password" }, - liquid: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "liquid" - }, - confidential: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "confidential" - }, unit: { type: DataTypes.STRING(255), allowNull: true, @@ -82,15 +64,6 @@ const attributes = { comment: null, field: "unit" }, - address: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "address" - }, account_id: { type: DataTypes.INTEGER(11), allowNull: true, |
