@hedhog/admin 0.0.50 → 0.0.51
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -12,7 +12,7 @@ export class Migrate implements MigrationInterface {
|
|
12
12
|
await queryRunner.manager
|
13
13
|
.createQueryBuilder()
|
14
14
|
.insert()
|
15
|
-
.into('role_routes')
|
15
|
+
.into('role_routes', ['role_id', 'route_id'])
|
16
16
|
.values({
|
17
17
|
role_id: 1,
|
18
18
|
route_id: route.id,
|
@@ -26,7 +26,7 @@ export class Migrate implements MigrationInterface {
|
|
26
26
|
await queryRunner.manager
|
27
27
|
.createQueryBuilder()
|
28
28
|
.insert()
|
29
|
-
.into('role_routes')
|
29
|
+
.into('role_routes', ['role_id', 'route_id'])
|
30
30
|
.values({
|
31
31
|
role_id: 3,
|
32
32
|
route_id: routeId,
|
@@ -37,7 +37,7 @@ export class Migrate implements MigrationInterface {
|
|
37
37
|
await queryRunner.manager
|
38
38
|
.createQueryBuilder()
|
39
39
|
.insert()
|
40
|
-
.into('role_routes')
|
40
|
+
.into('role_routes', ['role_id', 'route_id'])
|
41
41
|
.values({
|
42
42
|
role_id: 2,
|
43
43
|
route_id: 3,
|
@@ -55,7 +55,7 @@ export class Migrate implements MigrationInterface {
|
|
55
55
|
await queryRunner.manager
|
56
56
|
.createQueryBuilder()
|
57
57
|
.insert()
|
58
|
-
.into('role_routes')
|
58
|
+
.into('role_routes', ['role_id', 'route_id'])
|
59
59
|
.values({
|
60
60
|
role_id: 2,
|
61
61
|
route_id: route.id,
|