vr-migrations 1.0.16 → 1.0.18

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,
@@ -21,7 +21,6 @@ module.exports = {
21
21
  plateNumber: "RAD101A",
22
22
  securityClearanceId: "11111111-1111-1111-1111-111111111111", // RIDER
23
23
  isActive: true,
24
- isSuspended: false,
25
24
  lastLoginAt: null,
26
25
  createdAt: now,
27
26
  },
@@ -34,7 +33,6 @@ module.exports = {
34
33
  password: passwordHash,
35
34
  securityClearanceId: "22222222-2222-2222-2222-222222222222", // RIDER
36
35
  isActive: true,
37
- isSuspended: false,
38
36
  lastLoginAt: null,
39
37
  createdAt: now,
40
38
  },
@@ -48,7 +46,6 @@ module.exports = {
48
46
  password: passwordHash,
49
47
  securityClearanceId: "33333333-3333-3333-3333-333333333333", // AGENT
50
48
  isActive: true,
51
- isSuspended: false,
52
49
  lastLoginAt: null,
53
50
  createdAt: now,
54
51
  },
@@ -62,7 +59,6 @@ module.exports = {
62
59
  password: passwordHash,
63
60
  securityClearanceId: "44444444-4444-4444-4444-444444444444", // ADMIN
64
61
  isActive: true,
65
- isSuspended: false,
66
62
  lastLoginAt: null,
67
63
  createdAt: now,
68
64
  },
@@ -77,7 +73,6 @@ module.exports = {
77
73
  plateNumber: null,
78
74
  securityClearanceId: "55555555-5555-5555-5555-555555555555", // SUPER_ADMIN
79
75
  isActive: true,
80
- isSuspended: false,
81
76
  lastLoginAt: null,
82
77
  createdAt: now,
83
78
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-migrations",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Database migration and seeding package for VR applications",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",