vr-migrations 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,35 +74,23 @@ module.exports = {
74
74
  type: Sequelize.BOOLEAN,
75
75
  defaultValue: false,
76
76
  },
77
- otp: {
78
- type: Sequelize.STRING(50),
79
- allowNull: true,
80
- },
81
- otpExpiresAt: {
82
- type: Sequelize.DATE,
83
- allowNull: true,
84
- },
85
- isSuspended: {
77
+ verified: {
86
78
  type: Sequelize.BOOLEAN,
87
79
  allowNull: false,
88
80
  defaultValue: false,
89
81
  },
90
- bannedAt: {
82
+ verifiedAt: {
91
83
  type: Sequelize.DATE,
92
84
  allowNull: true,
93
85
  },
94
- banReason: {
95
- type: Sequelize.TEXT,
86
+ otp: {
87
+ type: Sequelize.STRING(50),
96
88
  allowNull: true,
97
89
  },
98
- suspendedAt: {
90
+ otpExpiresAt: {
99
91
  type: Sequelize.DATE,
100
92
  allowNull: true,
101
93
  },
102
- suspensionReason: {
103
- type: Sequelize.TEXT,
104
- allowNull: true,
105
- },
106
94
  lastLoginAt: {
107
95
  type: Sequelize.DATE,
108
96
  allowNull: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-migrations",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Database migration and seeding package for VR applications",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",