@admc-go-th/admc-library 1.0.44 → 1.0.45

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.
@@ -18,7 +18,7 @@ export interface mdPopupAttributes {
18
18
  expireDate?: Date;
19
19
  createdBy?: string;
20
20
  createdDate?: Date;
21
- updatedBy: string;
21
+ updatedBy?: string;
22
22
  updatedDate?: Date;
23
23
  }
24
24
 
@@ -126,10 +126,10 @@ export class mdPopup extends Model<mdPopupAttributes, mdPopupAttributes> impleme
126
126
 
127
127
  @Column({
128
128
  field: "updated_by",
129
- primaryKey: true,
129
+ allowNull: true,
130
130
  type: DataType.STRING(60)
131
131
  })
132
- declare updatedBy: string;
132
+ declare updatedBy?: string;
133
133
 
134
134
  @Column({
135
135
  field: "updated_date",
@@ -2770,7 +2770,7 @@ __decorateClass([
2770
2770
  __decorateClass([
2771
2771
  (0, import_sequelize_typescript25.Column)({
2772
2772
  field: "updated_by",
2773
- primaryKey: true,
2773
+ allowNull: true,
2774
2774
  type: import_sequelize_typescript25.DataType.STRING(60)
2775
2775
  })
2776
2776
  ], mdPopup.prototype, "updatedBy", 2);
@@ -16,7 +16,7 @@ interface mdPopupAttributes {
16
16
  expireDate?: Date;
17
17
  createdBy?: string;
18
18
  createdDate?: Date;
19
- updatedBy: string;
19
+ updatedBy?: string;
20
20
  updatedDate?: Date;
21
21
  }
22
22
  declare class mdPopup extends Model<mdPopupAttributes, mdPopupAttributes> implements mdPopupAttributes {
@@ -35,7 +35,7 @@ declare class mdPopup extends Model<mdPopupAttributes, mdPopupAttributes> implem
35
35
  expireDate?: Date;
36
36
  createdBy?: string;
37
37
  createdDate?: Date;
38
- updatedBy: string;
38
+ updatedBy?: string;
39
39
  updatedDate?: Date;
40
40
  }
41
41
 
@@ -133,7 +133,7 @@ __decorateClass([
133
133
  __decorateClass([
134
134
  (0, import_sequelize_typescript.Column)({
135
135
  field: "updated_by",
136
- primaryKey: true,
136
+ allowNull: true,
137
137
  type: import_sequelize_typescript.DataType.STRING(60)
138
138
  })
139
139
  ], mdPopup.prototype, "updatedBy", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",