Improve readme (#14858)

This commit is contained in:
martmull
2025-10-02 22:50:37 +02:00
committed by GitHub
parent d4160bf064
commit 87256e82f5
19 changed files with 158 additions and 357 deletions
@@ -0,0 +1,19 @@
import { type MigrationInterface, type QueryRunner } from 'typeorm';
export class RenameApplicationColumn1759433496458
implements MigrationInterface
{
name = 'RenameApplicationColumn1759433496458';
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`ALTER TABLE "core"."application" RENAME COLUMN "label" TO "name"`,
);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`ALTER TABLE "core"."application" RENAME COLUMN "name" TO "label"`,
);
}
}