-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(overlays): move goals inside overlays (#5657)
BREAKING CHANGE: Goals are moved to be part of overlays, removing their own settings
- Loading branch information
Showing
15 changed files
with
327 additions
and
433 deletions.
There are no files selected for viewing
This file was deleted.
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
15 changes: 15 additions & 0 deletions
15
src/database/migration/mysql/17.0.x/1678892044033-removeGoal.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { MigrationInterface, QueryRunner } from 'typeorm'; | ||
|
||
export class removeGoal1678892044033 implements MigrationInterface { | ||
name = 'removeGoal1678892044033'; | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`DROP TABLE \`goal\``); | ||
await queryRunner.query(`DROP TABLE \`goal_group\``); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
return; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
src/database/migration/postgres/17.0.x/1678892044033-removeGoal.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { MigrationInterface, QueryRunner } from 'typeorm'; | ||
|
||
export class removeGoal1678892044033 implements MigrationInterface { | ||
name = 'removeGoal1678892044033'; | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`DROP TABLE "goal"`); | ||
await queryRunner.query(`DROP TABLE "goal_group"`); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
return; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
src/database/migration/sqlite/17.0.x/1678892044033-removeGoal.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { MigrationInterface, QueryRunner } from 'typeorm'; | ||
|
||
export class removeGoal1678892044033 implements MigrationInterface { | ||
name = 'removeGoal1678892044033'; | ||
|
||
public async up(queryRunner: QueryRunner): Promise<void> { | ||
await queryRunner.query(`DROP TABLE "goal_group"`); | ||
await queryRunner.query(`DROP TABLE "goal"`); | ||
} | ||
|
||
public async down(queryRunner: QueryRunner): Promise<void> { | ||
return; | ||
} | ||
|
||
} |
Oops, something went wrong.