@hedhog/admin 0.0.10 → 0.0.11

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": "@hedhog/admin",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -36,7 +36,7 @@ export class Migrate implements MigrationInterface {
36
36
  await queryRunner.manager
37
37
  .createQueryBuilder()
38
38
  .insert()
39
- .into('screens')
39
+ .into('screens', ['name', 'slug', 'description', 'icon'])
40
40
  .values([
41
41
  {
42
42
  name: 'Users',
@@ -8,7 +8,7 @@ export class Migrate implements MigrationInterface {
8
8
  .from('screens', 's')
9
9
  .execute();
10
10
 
11
- for (const screen of screens.raw) {
11
+ for (const screen of screens) {
12
12
  await queryRunner.manager
13
13
  .createQueryBuilder()
14
14
  .insert()