aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/users.js90
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",