@hedhog/admin 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedhog/admin",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -94,7 +94,7 @@ export class Migrate implements MigrationInterface {
94
94
  name: 'type',
95
95
  type: 'enum',
96
96
  enum: ['string', 'number', 'boolean', 'json'],
97
- default: 'string',
97
+ default: "'string'",
98
98
  },
99
99
  {
100
100
  name: 'value',
@@ -118,7 +118,7 @@ export class Migrate implements MigrationInterface {
118
118
  .returning('id')
119
119
  .execute();
120
120
 
121
- const settingGroupId = settingGroup.identifiers[0].id;
121
+ const settingGroupId = settingGroup.raw[0].id;
122
122
 
123
123
  await queryRunner.manager
124
124
  .createQueryBuilder()
@@ -159,7 +159,7 @@ export class Migrate implements MigrationInterface {
159
159
  .returning('id')
160
160
  .execute();
161
161
 
162
- const settingId = setting.identifiers[0].id;
162
+ const settingId = setting.raw[0].id;
163
163
 
164
164
  await queryRunner.manager
165
165
  .createQueryBuilder()