@cleardu/core 1.0.532 → 1.0.534

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleardu/core",
3
- "version": "1.0.532",
3
+ "version": "1.0.534",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@common)",
5
5
  "homepage": "https://nestjs.com",
6
6
  "funding": {
@@ -60,8 +60,8 @@ tslib_1.__decorate([
60
60
  ], BorrowersDispositions.prototype, "comments", void 0);
61
61
  tslib_1.__decorate([
62
62
  (0, sequelize_typescript_1.ForeignKey)(() => cdr_1.default),
63
- (0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.STRING(50), allowNull: true }),
64
- (0, sequelize_typescript_1.Index)('idx_callRefNo'),
63
+ (0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.UUIDV4, allowNull: true }),
64
+ (0, sequelize_typescript_1.Index)('idx_callRefNo_uuId'),
65
65
  tslib_1.__metadata("design:type", String)
66
66
  ], BorrowersDispositions.prototype, "callRefNo", void 0);
67
67
  tslib_1.__decorate([
@@ -57,8 +57,8 @@ export default class BorrowersDispositions
57
57
  public comments: string;
58
58
 
59
59
  @ForeignKey(() => CdrSchema)
60
- @Column({ type: DataType.STRING(50), allowNull: true })
61
- @Index('idx_callRefNo')
60
+ @Column({ type: DataType.UUIDV4, allowNull: true })
61
+ @Index('idx_callRefNo_uuId')
62
62
  public callRefNo: string;
63
63
  @BelongsTo(() => CdrSchema, {
64
64
  targetKey: 'referenceId',
@@ -77,7 +77,7 @@ tslib_1.__decorate([
77
77
  tslib_1.__metadata("design:type", Number)
78
78
  ], CdrSchema.prototype, "loanId", void 0);
79
79
  tslib_1.__decorate([
80
- (0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.STRING(50), unique: true }),
80
+ (0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.UUIDV4, unique: true }),
81
81
  tslib_1.__metadata("design:type", String)
82
82
  ], CdrSchema.prototype, "referenceId", void 0);
83
83
  tslib_1.__decorate([
@@ -127,7 +127,7 @@ export default class CdrSchema extends BaseModel<ICdr> implements ICdr {
127
127
  @Column(DataType.INTEGER)
128
128
  public loanId: number;
129
129
 
130
- @Column({ type: DataType.STRING(50), unique: true })
130
+ @Column({ type: DataType.UUIDV4, unique: true })
131
131
  public referenceId: string;
132
132
 
133
133
  @Column(DataType.STRING(50))