@admc-go-th/admc-library 1.0.9 → 1.0.10

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,9 +581,8 @@ __decorateClass([
581
581
  ], users.prototype, "id", 2);
582
582
  __decorateClass([
583
583
  (0, import_sequelize_typescript10.Column)({
584
- allowNull: false,
585
- defaultValue: import_sequelize_typescript10.DataType.UUIDV4,
586
- type: import_sequelize_typescript10.DataType.UUID
584
+ allowNull: true,
585
+ type: import_sequelize_typescript10.DataType.STRING(60)
587
586
  })
588
587
  ], users.prototype, "uuid", 2);
589
588
  __decorateClass([
@@ -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,9 +43,8 @@ __decorateClass([
43
43
  ], users.prototype, "id", 2);
44
44
  __decorateClass([
45
45
  (0, import_sequelize_typescript.Column)({
46
- allowNull: false,
47
- defaultValue: import_sequelize_typescript.DataType.UUIDV4,
48
- type: import_sequelize_typescript.DataType.UUID
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(60)
49
48
  })
50
49
  ], users.prototype, "uuid", 2);
51
50
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",