From bf2b51f0c2ae9b8f0f330dde6411e45fc0da8a25 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 10 Mar 2020 20:01:02 -0700 Subject: clean up unused functions --- models/users.js | 90 --------------------------------------------------------- 1 file changed, 90 deletions(-) (limited to 'models/users.js') 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", -- cgit v1.2.3