@hedhog/admin 0.0.62 → 0.0.64
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/migrations/migrate-13.ts +2 -0
- package/src/migrations/migrate-14.ts +2 -0
- package/src/migrations/migrate-15.ts +2 -0
- package/src/migrations/migrate-16.ts +2 -0
- package/src/migrations/migrate-17.ts +2 -0
- package/src/migrations/migrate-18.ts +2 -0
- package/src/migrations/migrate-20.ts +2 -0
package/package.json
CHANGED
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
async up(queryRunner: QueryRunner) {
|
5
|
+
/*
|
5
6
|
const menus = await queryRunner.manager
|
6
7
|
.createQueryBuilder()
|
7
8
|
.select()
|
@@ -18,6 +19,7 @@ export class Migrate implements MigrationInterface {
|
|
18
19
|
menu_id: menu.id,
|
19
20
|
});
|
20
21
|
}
|
22
|
+
*/
|
21
23
|
}
|
22
24
|
|
23
25
|
async down(queryRunner: QueryRunner) {
|
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
async up(queryRunner: QueryRunner) {
|
5
|
+
/*
|
5
6
|
const screenIdScreen = await queryRunner.manager
|
6
7
|
.createQueryBuilder()
|
7
8
|
.select()
|
@@ -71,6 +72,7 @@ export class Migrate implements MigrationInterface {
|
|
71
72
|
.execute();
|
72
73
|
}
|
73
74
|
}
|
75
|
+
*/
|
74
76
|
}
|
75
77
|
|
76
78
|
async down(queryRunner: QueryRunner) {
|
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
async up(queryRunner: QueryRunner) {
|
5
|
+
/*
|
5
6
|
await queryRunner.manager
|
6
7
|
.createQueryBuilder()
|
7
8
|
.insert()
|
@@ -12,6 +13,7 @@ export class Migrate implements MigrationInterface {
|
|
12
13
|
{ role_id: 3, user_id: 2 },
|
13
14
|
])
|
14
15
|
.execute();
|
16
|
+
*/
|
15
17
|
}
|
16
18
|
|
17
19
|
async down(queryRunner: QueryRunner) {
|
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
async up(queryRunner: QueryRunner) {
|
5
|
+
/*
|
5
6
|
const routes = await queryRunner.manager
|
6
7
|
.createQueryBuilder()
|
7
8
|
.select()
|
@@ -48,6 +49,7 @@ export class Migrate implements MigrationInterface {
|
|
48
49
|
})
|
49
50
|
.execute();
|
50
51
|
}
|
52
|
+
*/
|
51
53
|
}
|
52
54
|
|
53
55
|
async down(queryRunner: QueryRunner) {
|
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
async up(queryRunner: QueryRunner) {
|
5
|
+
/*
|
5
6
|
const screens = await queryRunner.manager
|
6
7
|
.createQueryBuilder()
|
7
8
|
.select()
|
@@ -19,6 +20,7 @@ export class Migrate implements MigrationInterface {
|
|
19
20
|
})
|
20
21
|
.execute();
|
21
22
|
}
|
23
|
+
*/
|
22
24
|
}
|
23
25
|
|
24
26
|
async down(queryRunner: QueryRunner) {
|
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
async up(queryRunner: QueryRunner) {
|
5
|
+
/*
|
5
6
|
const menus = await queryRunner.manager
|
6
7
|
.createQueryBuilder()
|
7
8
|
.select()
|
@@ -28,6 +29,7 @@ export class Migrate implements MigrationInterface {
|
|
28
29
|
role_id: 2,
|
29
30
|
menu_id: 1,
|
30
31
|
});
|
32
|
+
*/
|
31
33
|
}
|
32
34
|
|
33
35
|
async down(queryRunner: QueryRunner) {
|
@@ -2,6 +2,7 @@ import { MigrationInterface, QueryRunner } from 'typeorm';
|
|
2
2
|
|
3
3
|
export class Migrate implements MigrationInterface {
|
4
4
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
5
|
+
/*
|
5
6
|
const groups = [
|
6
7
|
{
|
7
8
|
slug: 'file-storage',
|
@@ -295,6 +296,7 @@ export class Migrate implements MigrationInterface {
|
|
295
296
|
})
|
296
297
|
.execute();
|
297
298
|
}
|
299
|
+
*/
|
298
300
|
}
|
299
301
|
|
300
302
|
public async down(queryRunner: QueryRunner): Promise<void> {
|