vr-models 1.0.2 → 1.0.4

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.
@@ -51,7 +51,6 @@ class SecurityClearance extends vr_migrations_1.Model {
51
51
  role: {
52
52
  type: vr_migrations_1.DataTypes.ENUM(...exports.USER_ROLES),
53
53
  allowNull: false,
54
- unique: true,
55
54
  },
56
55
  description: {
57
56
  type: vr_migrations_1.DataTypes.TEXT,
@@ -27,12 +27,12 @@ class User extends vr_migrations_1.Model {
27
27
  },
28
28
  nationalId: {
29
29
  type: vr_migrations_1.DataTypes.STRING(16),
30
- allowNull: false,
30
+ allowNull: true,
31
31
  unique: true,
32
32
  },
33
33
  jacketId: {
34
34
  type: vr_migrations_1.DataTypes.STRING(50),
35
- allowNull: false,
35
+ allowNull: true,
36
36
  unique: true,
37
37
  },
38
38
  email: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-models",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Shared database models package for VR applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",