@admc-go-th/admc-library 1.0.4 → 1.0.5

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