mblabs-roccato-backend-commons 1.0.81 → 1.0.82

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.
@@ -68,7 +68,7 @@ __decorate([
68
68
  __metadata("design:type", Object)
69
69
  ], AccountEntity.prototype, "metadata", void 0);
70
70
  __decorate([
71
- (0, typeorm_1.Column)({ type: 'boolean', nullable: true }),
71
+ (0, typeorm_1.Column)({ type: 'boolean', nullable: true, default: false }),
72
72
  __metadata("design:type", Boolean)
73
73
  ], AccountEntity.prototype, "isDefault", void 0);
74
74
  __decorate([
@@ -60,6 +60,7 @@ class CreateAccountsTable1748448589934 {
60
60
  name: 'isDefault',
61
61
  type: 'boolean',
62
62
  isNullable: true,
63
+ default: false,
63
64
  },
64
65
  {
65
66
  name: 'metadata',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mblabs-roccato-backend-commons",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,7 +39,7 @@ export default class AccountEntity extends BaseEntity {
39
39
  @Column({ type: 'jsonb', nullable: true })
40
40
  public metadata?: unknown;
41
41
 
42
- @Column({ type: 'boolean', nullable: true })
42
+ @Column({ type: 'boolean', nullable: true, default: false })
43
43
  public isDefault?: boolean;
44
44
 
45
45
  @OneToMany(() => AccountModuleEntity, am => am.account)
@@ -59,6 +59,7 @@ export class CreateAccountsTable1748448589934 implements MigrationInterface {
59
59
  name: 'isDefault',
60
60
  type: 'boolean',
61
61
  isNullable: true,
62
+ default: false,
62
63
  },
63
64
  {
64
65
  name: 'metadata',