2023-09-22 03:29:33 +02:00
|
|
|
export class AddPostLang1695334243217 {
|
2023-09-22 05:21:15 +02:00
|
|
|
name = "AddPostLang1695334243217";
|
2023-09-22 03:29:33 +02:00
|
|
|
|
2023-09-22 05:21:15 +02:00
|
|
|
async up(queryRunner) {
|
|
|
|
await queryRunner.query(
|
|
|
|
`ALTER TABLE "note" ADD "lang" character varying(10)`,
|
|
|
|
);
|
|
|
|
}
|
2023-09-22 03:29:33 +02:00
|
|
|
|
2023-09-22 05:21:15 +02:00
|
|
|
async down(queryRunner) {
|
|
|
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "lang"`);
|
|
|
|
}
|
2023-09-22 03:29:33 +02:00
|
|
|
}
|