-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix broken navigation when opening settings or hotkeys (#655)
- Loading branch information
1 parent
7458c3a
commit 173a407
Showing
12 changed files
with
10,305 additions
and
10,296 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 13 additions & 10 deletions
23
teammapper-backend/src/migrations/1718959806227-AddLastAccessedFieldToMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
import { MigrationInterface, QueryRunner } from "typeorm"; | ||
import { MigrationInterface, QueryRunner } from 'typeorm' | ||
|
||
export class AddLastAccessedFieldToMap1718959806227 implements MigrationInterface { | ||
name = 'AddLastAccessedFieldToMap1718959806227' | ||
export class AddLastAccessedFieldToMap1718959806227 | ||
implements MigrationInterface | ||
{ | ||
name = 'AddLastAccessedFieldToMap1718959806227' | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" ADD "lastAccessed" TIMESTAMP WITH TIME ZONE`); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" DROP COLUMN "lastAccessed"`); | ||
} | ||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_map" ADD "lastAccessed" TIMESTAMP WITH TIME ZONE` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" DROP COLUMN "lastAccessed"`) | ||
} | ||
} |
22 changes: 10 additions & 12 deletions
22
teammapper-backend/src/migrations/1724314314717-AddCreatedAtToMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import { MigrationInterface, QueryRunner } from "typeorm" | ||
import { MigrationInterface, QueryRunner } from 'typeorm' | ||
|
||
export class AddCreatedAtToMap1724314314717 implements MigrationInterface { | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_map" ADD "createdAt" TIMESTAMP WITH TIME ZONE` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" DROP COLUMN "createdAt"`) | ||
} | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_map" ADD "createdAt" TIMESTAMP WITH TIME ZONE` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" DROP COLUMN "createdAt"`) | ||
} | ||
} |
22 changes: 10 additions & 12 deletions
22
teammapper-backend/src/migrations/1724314435583-AddCreatedAtToNode.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import { MigrationInterface, QueryRunner } from "typeorm" | ||
import { MigrationInterface, QueryRunner } from 'typeorm' | ||
|
||
export class AddCreatedAtToNode1724314435583 implements MigrationInterface { | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_node" ADD "createdAt" TIMESTAMP WITH TIME ZONE` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_node" DROP COLUMN "createdAt"`) | ||
} | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_node" ADD "createdAt" TIMESTAMP WITH TIME ZONE` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_node" DROP COLUMN "createdAt"`) | ||
} | ||
} |
25 changes: 15 additions & 10 deletions
25
teammapper-backend/src/migrations/1724325535133-AddDefaultToCreatedAtMmpMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
import { MigrationInterface, QueryRunner } from "typeorm"; | ||
import { MigrationInterface, QueryRunner } from 'typeorm' | ||
|
||
export class AddDefaultToCreatedAtMmpMap1724325535133 implements MigrationInterface { | ||
name = 'AddDefaultToCreatedAtMmpMap1724325535133' | ||
export class AddDefaultToCreatedAtMmpMap1724325535133 | ||
implements MigrationInterface | ||
{ | ||
name = 'AddDefaultToCreatedAtMmpMap1724325535133' | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" ALTER COLUMN "createdAt" SET DEFAULT now()`); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_map" ALTER COLUMN "createdAt" DROP DEFAULT`); | ||
} | ||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_map" ALTER COLUMN "createdAt" SET DEFAULT now()` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_map" ALTER COLUMN "createdAt" DROP DEFAULT` | ||
) | ||
} | ||
} |
25 changes: 15 additions & 10 deletions
25
teammapper-backend/src/migrations/1724325567562-AddDefaultToCreatedAtMmpNode.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
import { MigrationInterface, QueryRunner } from "typeorm"; | ||
import { MigrationInterface, QueryRunner } from 'typeorm' | ||
|
||
export class AddDefaultToCreatedAtMmpNode1724325567562 implements MigrationInterface { | ||
name = 'AddDefaultToCreatedAtMmpNode1724325567562' | ||
export class AddDefaultToCreatedAtMmpNode1724325567562 | ||
implements MigrationInterface | ||
{ | ||
name = 'AddDefaultToCreatedAtMmpNode1724325567562' | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_node" ALTER COLUMN "createdAt" SET DEFAULT now()`); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`ALTER TABLE "mmp_node" ALTER COLUMN "createdAt" DROP DEFAULT`); | ||
} | ||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_node" ALTER COLUMN "createdAt" SET DEFAULT now()` | ||
) | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query( | ||
`ALTER TABLE "mmp_node" ALTER COLUMN "createdAt" DROP DEFAULT` | ||
) | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters