diff options
| author | Adam Soltys <[email protected]> | 2020-05-04 21:46:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-05-04 21:46:21 -0700 |
| commit | aed612c566cbf996defc10a4a7057fd4fa528d9d (patch) | |
| tree | d13f6777d2b65fc2d4312ce341b7e4be7c3626d9 /db/models/users.js | |
| parent | 6c9b2db32e4c20fea13031ed74f47086123c7539 (diff) | |
| download | coinos-server-aed612c566cbf996defc10a4a7057fd4fa528d9d.tar.gz coinos-server-aed612c566cbf996defc10a4a7057fd4fa528d9d.zip | |
drop fb, track ip's for faucet
Diffstat (limited to 'db/models/users.js')
| -rw-r--r-- | db/models/users.js | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/db/models/users.js b/db/models/users.js index c41dbb04..ea697f39 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -10,6 +10,15 @@ const attributes = { comment: null, field: "id" }, + ip: { + type: DataTypes.STRING(255), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "ip" + }, username: { type: DataTypes.STRING(255), allowNull: true, @@ -118,33 +127,6 @@ const attributes = { comment: null, field: "updatedAt" }, - fbtoken: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "fbtoken" - }, - name: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "name" - }, - pic: { - type: DataTypes.STRING(255), - allowNull: true, - defaultValue: null, - primaryKey: false, - autoIncrement: false, - comment: null, - field: "pic" - }, twofa: { type: DataTypes.INTEGER(1), allowNull: true, |
