mirror of
https://example.com
synced 2024-11-28 12:26:40 +09:00
13 lines
296 B
JavaScript
13 lines
296 B
JavaScript
export class AddPostLang1695334243217 {
|
|
name = "AddPostLang1695334243217";
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(
|
|
`ALTER TABLE "note" ADD "lang" character varying(10)`,
|
|
);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "lang"`);
|
|
}
|
|
}
|