@admc-go-th/admc-library 1.0.11 → 1.0.12

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.
@@ -581,7 +581,7 @@ __decorateClass([
581
581
  ], users.prototype, "id", 2);
582
582
  __decorateClass([
583
583
  (0, import_sequelize_typescript10.Column)({
584
- allowNull: true,
584
+ allowNull: false,
585
585
  type: import_sequelize_typescript10.DataType.STRING(60)
586
586
  })
587
587
  ], users.prototype, "uuid", 2);
@@ -2,7 +2,7 @@ import { Model } from 'sequelize-typescript';
2
2
 
3
3
  interface usersAttributes {
4
4
  id?: number;
5
- uuid?: string;
5
+ uuid: string;
6
6
  username?: string;
7
7
  passwordHash?: string;
8
8
  passwordResetToken?: string;
@@ -25,7 +25,7 @@ interface usersAttributes {
25
25
  }
26
26
  declare class users extends Model<usersAttributes, usersAttributes> implements usersAttributes {
27
27
  id?: number;
28
- uuid?: string;
28
+ uuid: string;
29
29
  username?: string;
30
30
  passwordHash?: string;
31
31
  passwordResetToken?: string;
@@ -43,7 +43,7 @@ __decorateClass([
43
43
  ], users.prototype, "id", 2);
44
44
  __decorateClass([
45
45
  (0, import_sequelize_typescript.Column)({
46
- allowNull: true,
46
+ allowNull: false,
47
47
  type: import_sequelize_typescript.DataType.STRING(60)
48
48
  })
49
49
  ], users.prototype, "uuid", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",