diff options
| author | Adam Soltys <[email protected]> | 2020-03-10 20:01:02 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-03-10 20:01:02 -0700 |
| commit | bf2b51f0c2ae9b8f0f330dde6411e45fc0da8a25 (patch) | |
| tree | 8a0a857a24eb558099e3a21781b4f57c9222a768 /models | |
| parent | aea7e7588a528048a4996bd91b569ec3298eb624 (diff) | |
| download | coinos-server-bf2b51f0c2ae9b8f0f330dde6411e45fc0da8a25.tar.gz coinos-server-bf2b51f0c2ae9b8f0f330dde6411e45fc0da8a25.zip | |
clean up unused functions
Diffstat (limited to 'models')
| -rw-r--r-- | models/users.js | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/models/users.js b/models/users.js index 467a0e3b..7adeeaf6 100644 --- a/models/users.js +++ b/models/users.js @@ -31,15 +31,6 @@ module.exports = sequelize => { comment: null, field: "password" }, - email: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "email" - }, liquid: { type: DataTypes.STRING(255), allowNull: true, @@ -67,15 +58,6 @@ module.exports = sequelize => { comment: null, field: "address" }, - unit: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "unit" - }, symbol: { type: DataTypes.STRING(255), allowNull: true, @@ -112,24 +94,6 @@ module.exports = sequelize => { comment: null, field: "currencies" }, - commission: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "commission" - }, - title: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "title" - }, pubkey: { type: DataTypes.STRING(255), allowNull: true, @@ -256,33 +220,6 @@ module.exports = sequelize => { comment: null, field: "pic" }, - emailToken: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "emailToken" - }, - phone: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "phone" - }, - phoneVerified: { - type: DataTypes.INTEGER(1), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "phoneVerified" - }, twofa: { type: DataTypes.INTEGER(1), allowNull: true, @@ -292,15 +229,6 @@ module.exports = sequelize => { comment: null, field: "twofa" }, - authyId: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "authyId" - }, pin: { type: DataTypes.STRING(255), allowNull: true, @@ -310,24 +238,6 @@ module.exports = sequelize => { comment: null, field: "pin" }, - emailVerified: { - type: DataTypes.INTEGER(1), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "emailVerified" - }, - phoneToken: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "phoneToken" - } }; const options = { tableName: "users", |
