Run prettier
This commit is contained in:
parent
86179356a4
commit
767256d2c4
|
@ -1,16 +1,21 @@
|
|||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
|
||||
export class V050A1672154027079 implements MigrationInterface {
|
||||
name = 'V050A1672154027079'
|
||||
name = 'V050A1672154027079';
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`CREATE TABLE "e_system_state_backend" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "key" character varying NOT NULL, "value" character varying NOT NULL, CONSTRAINT "UQ_f11f1605928b497b24f4b3ecc1f" UNIQUE ("key"), CONSTRAINT "PK_097ea165dadc8c14237481afd64" PRIMARY KEY ("id"))`);
|
||||
await queryRunner.query(`CREATE INDEX "IDX_f11f1605928b497b24f4b3ecc1" ON "e_system_state_backend" ("key") `);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`DROP INDEX "public"."IDX_f11f1605928b497b24f4b3ecc1"`);
|
||||
await queryRunner.query(`DROP TABLE "e_system_state_backend"`);
|
||||
}
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
`CREATE TABLE "e_system_state_backend" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "key" character varying NOT NULL, "value" character varying NOT NULL, CONSTRAINT "UQ_f11f1605928b497b24f4b3ecc1f" UNIQUE ("key"), CONSTRAINT "PK_097ea165dadc8c14237481afd64" PRIMARY KEY ("id"))`,
|
||||
);
|
||||
await queryRunner.query(
|
||||
`CREATE INDEX "IDX_f11f1605928b497b24f4b3ecc1" ON "e_system_state_backend" ("key") `,
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
`DROP INDEX "public"."IDX_f11f1605928b497b24f4b3ecc1"`,
|
||||
);
|
||||
await queryRunner.query(`DROP TABLE "e_system_state_backend"`);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,11 +12,10 @@ cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|||
# Strip the version from the package names
|
||||
# Concat all package names into a single line with spaces
|
||||
# Run "yarn up -R {all-packages}" to update all packages
|
||||
yarn info --name-only -R -A --json | \
|
||||
jq | \
|
||||
sed 's/\"//g' | \
|
||||
sed 's/@.*//g' | \
|
||||
sort | \
|
||||
uniq | \
|
||||
xargs yarn up -R
|
||||
|
||||
yarn info --name-only -R -A --json \
|
||||
| jq \
|
||||
| sed 's/\"//g' \
|
||||
| sed 's/@.*//g' \
|
||||
| sort \
|
||||
| uniq \
|
||||
| xargs yarn up -R
|
||||
|
|
Loading…
Reference in New Issue